]> source.dussan.org Git - jquery-ui.git/commitdiff
fixed: issue with window resize event, thx to saus, see https://github.com/fnagel...
authorFelix Nagel <info@felixnagel.com>
Sat, 12 Feb 2011 22:10:59 +0000 (23:10 +0100)
committerFelix Nagel <info@felixnagel.com>
Sat, 12 Feb 2011 22:15:06 +0000 (23:15 +0100)
fixed: deleted console.log()

ui/jquery.ui.selectmenu.js

index d75db6cbf7898fcfcd506e870818a1a23ea4fda0..57669d49460bfef7b36271d6bbbfca8353c83a63 100644 (file)
@@ -227,9 +227,7 @@ $.widget("ui.selectmenu", {
                        });                     
                
                // needed when window is resized
-               $(window).bind("resize.selectmenu", function() {
-                       $.proxy(self._refreshPosition, this);
-               });
+               $(window).bind( "resize.selectmenu", $.proxy( self._refreshPosition, this ) );
        },
 
        _init: function() {