]> source.dussan.org Git - jquery-ui.git/commitdiff
Selectable: moved position absolute and z-index to css. Fixed #4475 - Selectable...
authorRichard D. Worth <rdworth@gmail.com>
Wed, 26 May 2010 22:42:24 +0000 (18:42 -0400)
committerRichard D. Worth <rdworth@gmail.com>
Wed, 26 May 2010 22:42:24 +0000 (18:42 -0400)
themes/base/jquery.ui.selectable.css
ui/jquery.ui.selectable.js

index c5d46ce24bf179dcfd2e4c5e67235efe93299a25..639bcfc5a7f68af9ee09505f65a5c670fac95e94 100644 (file)
@@ -1,3 +1,3 @@
 /* Selectable
 ----------------------------------*/
-.ui-selectable-helper { border:1px dotted black }
+.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
index 89d9b08368698197b9cbb1a9df7b033dbab3a88b..04c27e3530586f46066ecb09985c296d5a3c3b10 100644 (file)
@@ -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,