diff options
Diffstat (limited to 'xstatic/pkg/jquery_ui/data/ui/jquery.ui.mouse.js')
-rw-r--r-- | xstatic/pkg/jquery_ui/data/ui/jquery.ui.mouse.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/xstatic/pkg/jquery_ui/data/ui/jquery.ui.mouse.js b/xstatic/pkg/jquery_ui/data/ui/jquery.ui.mouse.js index 669d563..52a1786 100644 --- a/xstatic/pkg/jquery_ui/data/ui/jquery.ui.mouse.js +++ b/xstatic/pkg/jquery_ui/data/ui/jquery.ui.mouse.js @@ -1,7 +1,7 @@ /*! - * jQuery UI Mouse 1.8.18 + * jQuery UI Mouse 1.8.24 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * @@ -45,6 +45,11 @@ $.widget("ui.mouse", { // other instances of mouse _mouseDestroy: function() { this.element.unbind('.'+this.widgetName); + if ( this._mouseMoveDelegate ) { + $(document) + .unbind('mousemove.'+this.widgetName, this._mouseMoveDelegate) + .unbind('mouseup.'+this.widgetName, this._mouseUpDelegate); + } }, _mouseDown: function(event) { |