aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.tabs.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/jquery.ui.tabs.js')
-rw-r--r--ui/jquery.ui.tabs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js
index 8b63992a5..2efb062e8 100644
--- a/ui/jquery.ui.tabs.js
+++ b/ui/jquery.ui.tabs.js
@@ -129,7 +129,7 @@ $.widget( "ui.tabs", {
self.panels = self.panels.add( self._sanitizeSelector( href ) );
// remote tab
// prevent loading the page itself if href is just "#"
- } else if ( href !== "#" ) {
+ } else if ( href && href !== "#" ) {
// required for restore on destroy
$.data( a, "href.tabs", href );