summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2011-08-20 19:15:16 +0200
committerFelix Nagel <info@felixnagel.com>2011-08-20 19:15:16 +0200
commit5472925e1b27804d512457de34663f13144483be (patch)
tree72f01183ef257890354501cab87487c99dff072a
parent35b4a7aee4a3e90553da22d77a32d6e35022fece (diff)
downloadjquery-ui-5472925e1b27804d512457de34663f13144483be.tar.gz
jquery-ui-5472925e1b27804d512457de34663f13144483be.zip
fixed: jumping in IE9, follow up to #147, see #154, thx to @Ninkasi
-rw-r--r--ui/jquery.ui.selectmenu.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js
index ac09c7118..87652f9a7 100644
--- a/ui/jquery.ui.selectmenu.js
+++ b/ui/jquery.ui.selectmenu.js
@@ -51,7 +51,7 @@ $.widget("ui.selectmenu", {
'class': this.widgetBaseClass + ' ui-widget ui-state-default ui-corner-all',
'id' : this.ids[ 0 ],
'role': 'button',
- 'href': '#',
+ 'href': '#nogo',
'tabindex': this.element.attr( 'disabled' ) ? 1 : 0,
'aria-haspopup': true,
'aria-owns': this.ids[ 1 ]
@@ -295,7 +295,7 @@ $.widget("ui.selectmenu", {
}
var thisAAttr = {
html: selectOptionData[i].text,
- href : '#',
+ href : '#nogo',
tabindex : -1,
role : 'option',
'aria-selected' : false
@@ -376,7 +376,7 @@ $.widget("ui.selectmenu", {
}
}
} else {
- $('<li role="presentation"><a href="#" tabindex="-1" role="option"></a></li>').appendTo(this.list);
+ $('<li role="presentation"><a href="#nogo" tabindex="-1" role="option"></a></li>').appendTo(this.list);
}
// we need to set and unset the CSS classes for dropdown and popup style
var isDropDown = ( o.style == 'dropdown' );