]> source.dussan.org Git - jquery-ui.git/commitdiff
fixed: removed unneeded and problematic .selector property, see #269, THX to @brunis
authorFelix Nagel <info@felixnagel.com>
Mon, 1 Oct 2012 21:41:45 +0000 (23:41 +0200)
committerFelix Nagel <info@felixnagel.com>
Mon, 1 Oct 2012 21:41:45 +0000 (23:41 +0200)
ui/jquery.ui.selectmenu.js

index 10b19c8d7e91b29adabe25aa75b5242a46a5c141..fef37c2b079a8b924128f113a15553dfb8cf8eaa 100644 (file)
@@ -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');