We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 201685d commit ecbf017Copy full SHA for ecbf017
ui/jquery.ui.selectmenu.js
@@ -211,9 +211,9 @@ $.widget("ui.selectmenu", {
211
});
212
213
// needed when window is resized
214
- $(window).resize(function(){
215
- self._refreshPosition();
216
- });
+ $(window).resize(
+ $.proxy(self._refreshPosition, this)
+ );
217
},
218
_init: function() {
219
var self = this, o = this.options;
0 commit comments