diff options
author | adam j. sontag <ajpiano@ajpiano.com> | 2010-05-12 14:32:14 +0800 |
---|---|---|
committer | Richard D. Worth <rdworth@gmail.com> | 2010-05-13 22:35:40 +0800 |
commit | 05725e25aea335ecb9c7cf3b03eba8ee68153fb5 (patch) | |
tree | 2ebd72f0f14093449e1193d64cbeef1e381d8fd3 /ui/jquery.ui.selectable.js | |
parent | dc646c01fe97b54e3bb486b55caacf69bd3b12ac (diff) | |
download | jquery-ui-05725e25aea335ecb9c7cf3b03eba8ee68153fb5.tar.gz jquery-ui-05725e25aea335ecb9c7cf3b03eba8ee68153fb5.zip |
Selectable: Add default CSS for ui-selectable-helper to CSS framework to allow user override. Fixes #5607 - Selectable has helper css hardcoded in JS
Diffstat (limited to 'ui/jquery.ui.selectable.js')
-rw-r--r-- | ui/jquery.ui.selectable.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/jquery.ui.selectable.js b/ui/jquery.ui.selectable.js index ea4a20c1f..c965a3c1f 100644 --- a/ui/jquery.ui.selectable.js +++ b/ui/jquery.ui.selectable.js @@ -57,9 +57,7 @@ $.widget("ui.selectable", $.ui.mouse, { this._mouseInit(); - this.helper = $(document.createElement('div')) - .css({border:'1px dotted black'}) - .addClass("ui-selectable-helper"); + this.helper = $("<div class='ui-selectable-helper'>"); }, destroy: function() { |