diff options
author | Scott González <scott.gonzalez@gmail.com> | 2009-12-29 01:32:44 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2009-12-29 01:32:44 +0000 |
commit | eb15a50a7228ea69273bce757bb7637c8ad3f843 (patch) | |
tree | 6db16741ac8b1a3a71846c3e83ff30bb80ebebf7 /ui | |
parent | 0c35c1135f57e0cf533963ec55b34f55704d9824 (diff) | |
download | jquery-ui-eb15a50a7228ea69273bce757bb7637c8ad3f843.tar.gz jquery-ui-eb15a50a7228ea69273bce757bb7637c8ad3f843.zip |
Mouse: Don't prevent text selection in IE.
Fixes #4773 - Enable text selection in Internet Explorer.
Patch provided by stakach.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.mouse.js | 10 |
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) { |