From eb15a50a7228ea69273bce757bb7637c8ad3f843 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Tue, 29 Dec 2009 01:32:44 +0000 Subject: [PATCH] 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(-) 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) { -- 2.39.5