aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-09-03 13:35:05 -0400
committerScott González <scott.gonzalez@gmail.com>2010-09-03 13:35:05 -0400
commit1b3176565561ccbd0c904620ae97690aff41b90b (patch)
treee575d7e0e1a793837d6e7e9ad0e1318cd3373164 /ui
parent78540e2c0c19a39922d19846333740d416b5b487 (diff)
downloadjquery-ui-1b3176565561ccbd0c904620ae97690aff41b90b.tar.gz
jquery-ui-1b3176565561ccbd0c904620ae97690aff41b90b.zip
Tabs: Handle empty hrefs for IE6/7 as invalid. Fixes #5755 - Tabs: tabs with an empty href are enabled in IE6/7.
Diffstat (limited to 'ui')
-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 );