diff options
author | Richard D. Worth <rdworth@gmail.com> | 2010-05-26 18:42:24 -0400 |
---|---|---|
committer | Richard D. Worth <rdworth@gmail.com> | 2010-05-26 18:42:24 -0400 |
commit | a90e195489915ed8a6d66005adea7844cbabe3e7 (patch) | |
tree | 81f33c7e09db20977fb405fe473387e2663a3ef5 | |
parent | 202ddd0c58933e80b60373690412d2103b60388b (diff) | |
download | jquery-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.css | 2 | ||||
-rw-r--r-- | ui/jquery.ui.selectable.js | 2 |
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, |