From eb15a50a7228ea69273bce757bb7637c8ad3f843 Mon Sep 17 00:00:00 2001 From: Scott González Date: Tue, 29 Dec 2009 01:32:44 +0000 Subject: Mouse: Don't prevent text selection in IE. Fixes #4773 - Enable text selection in Internet Explorer. Patch provided by stakach. --- ui/jquery.ui.mouse.js | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'ui') 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) { -- cgit v1.2.3