Skip to content

Commit

Permalink
Selectable: moved position absolute and z-index to css. Fixed #4475 -…
Browse files Browse the repository at this point in the history
… Selectable helper has z-index hard coded
  • Loading branch information
rdworth committed May 26, 2010
1 parent 202ddd0 commit a90e195
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion themes/base/jquery.ui.selectable.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/* Selectable
----------------------------------*/
.ui-selectable-helper { border:1px dotted black }
.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
2 changes: 0 additions & 2 deletions ui/jquery.ui.selectable.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a90e195

Please sign in to comment.