Selectable: moved position absolute and z-index to css. Fixed #4475 - Selectable helper has z-index hard coded

This commit is contained in:
Richard D. Worth 2010-05-26 18:42:24 -04:00
parent 202ddd0c58
commit a90e195489
2 changed files with 1 additions and 3 deletions

View 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; }

View 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,