Fixes #4773 - Enable text selection in Internet Explorer.
Patch provided by stakach.
}
});
- // Prevent text selection in IE
- if ($.browser.msie) {
- this._mouseUnselectable = this.element.attr('unselectable');
- this.element.attr('unselectable', 'on');
- }
-
this.started = false;
},
// other instances of mouse
_mouseDestroy: function() {
this.element.unbind('.'+this.widgetName);
-
- // Restore text selection in IE
- ($.browser.msie
- && this.element.attr('unselectable', this._mouseUnselectable));
},
_mouseDown: function(event) {