summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2012-10-01 23:41:45 +0200
committerFelix Nagel <info@felixnagel.com>2012-10-01 23:41:45 +0200
commit343ed3f9efa262fd07212e6e7411fc32f5d5971a (patch)
treee128509f58593f7bfbd8c147e21ee883e2d31a24
parentc9376a6c276c7bea047aca78b48ee0a2de18db4d (diff)
downloadjquery-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.js2
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');