diff options
author | Felix Nagel <info@felixnagel.com> | 2012-10-01 23:41:45 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2012-10-01 23:41:45 +0200 |
commit | 343ed3f9efa262fd07212e6e7411fc32f5d5971a (patch) | |
tree | e128509f58593f7bfbd8c147e21ee883e2d31a24 | |
parent | c9376a6c276c7bea047aca78b48ee0a2de18db4d (diff) | |
download | jquery-ui-343ed3f9efa262fd07212e6e7411fc32f5d5971a.tar.gz jquery-ui-343ed3f9efa262fd07212e6e7411fc32f5d5971a.zip |
fixed: removed unneeded and problematic .selector property, see #269, THX to @brunis
-rw-r--r-- | ui/jquery.ui.selectmenu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 10b19c8d7..fef37c2b0 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -350,7 +350,7 @@ $.widget("ui.selectmenu", { } }) .bind('mouseout.selectmenu', function() { - if ($(this).is(self._selectedOptionLi().selector)) { + if ($(this).is(self._selectedOptionLi())) { $(this).addClass(activeClass); } $(this).removeClass(self.widgetBaseClass + '-item-focus ui-state-hover'); |