mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectable: Add default CSS for ui-selectable-helper to CSS framework to allow user override. Fixes #5607 - Selectable has helper css hardcoded in JS
This commit is contained in:
parent
dc646c01fe
commit
05725e25ae
1
themes/base/jquery.ui.base.css
vendored
1
themes/base/jquery.ui.base.css
vendored
@ -7,5 +7,6 @@
|
||||
@import url("jquery.ui.dialog.css");
|
||||
@import url("jquery.ui.progressbar.css");
|
||||
@import url("jquery.ui.resizable.css");
|
||||
@import url("jquery.ui.selectable.css");
|
||||
@import url("jquery.ui.slider.css");
|
||||
@import url("jquery.ui.tabs.css");
|
||||
|
3
themes/base/jquery.ui.selectable.css
vendored
Normal file
3
themes/base/jquery.ui.selectable.css
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
/* Selectable
|
||||
----------------------------------*/
|
||||
.ui-selectable-helper { border:1px dotted black }
|
4
ui/jquery.ui.selectable.js
vendored
4
ui/jquery.ui.selectable.js
vendored
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user