aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/jquery.ui.mouse.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/ui/jquery.ui.mouse.js b/ui/jquery.ui.mouse.js
index 43fe2fbc5..f115b3334 100644
--- a/ui/jquery.ui.mouse.js
+++ b/ui/jquery.ui.mouse.js
@@ -28,12 +28,6 @@ $.ui.mouse = {
}
});
- // Prevent text selection in IE
- if ($.browser.msie) {
- this._mouseUnselectable = this.element.attr('unselectable');
- this.element.attr('unselectable', 'on');
- }
-
this.started = false;
},
@@ -41,10 +35,6 @@ $.ui.mouse = {
// 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) {