aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard D. Worth <rdworth@gmail.com>2010-05-26 18:42:24 -0400
committerRichard D. Worth <rdworth@gmail.com>2010-05-26 18:42:24 -0400
commita90e195489915ed8a6d66005adea7844cbabe3e7 (patch)
tree81f33c7e09db20977fb405fe473387e2663a3ef5
parent202ddd0c58933e80b60373690412d2103b60388b (diff)
downloadjquery-ui-a90e195489915ed8a6d66005adea7844cbabe3e7.tar.gz
jquery-ui-a90e195489915ed8a6d66005adea7844cbabe3e7.zip
Selectable: moved position absolute and z-index to css. Fixed #4475 - Selectable helper has z-index hard coded
-rw-r--r--themes/base/jquery.ui.selectable.css2
-rw-r--r--ui/jquery.ui.selectable.js2
2 files changed, 1 insertions, 3 deletions
diff --git a/themes/base/jquery.ui.selectable.css b/themes/base/jquery.ui.selectable.css
index c5d46ce24..639bcfc5a 100644
--- a/themes/base/jquery.ui.selectable.css
+++ b/themes/base/jquery.ui.selectable.css
@@ -1,3 +1,3 @@
/* Selectable
----------------------------------*/
-.ui-selectable-helper { border:1px dotted black }
+.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
diff --git a/ui/jquery.ui.selectable.js b/ui/jquery.ui.selectable.js
index 89d9b0836..04c27e353 100644
--- a/ui/jquery.ui.selectable.js
+++ b/ui/jquery.ui.selectable.js
@@ -90,8 +90,6 @@ $.widget("ui.selectable", $.ui.mouse, {
$(options.appendTo).append(this.helper);
// position helper (lasso)
this.helper.css({
- "z-index": 100,
- "position": "absolute",
"left": event.clientX,
"top": event.clientY,
"width": 0,