Commit 06f1c54f by Valera Rozuvan Committed by Alexander Kryklia

Fix. Now the z index stack is consistent.

parent f0850f4c
...@@ -153,8 +153,8 @@ define(['logme'], function (logme) { ...@@ -153,8 +153,8 @@ define(['logme'], function (logme) {
(function (c1) { (function (c1) {
while (c1 < _draggables.length) { while (c1 < _draggables.length) {
if (draggableContainerEl.attr('data-old-z-index') < _draggables[c1].css('z-index')) { if (parseInt(draggableContainerEl.attr('data-old-z-index'), 10) < parseInt(_draggables[c1].css('z-index'), 10)) {
_draggables[c1].css('z-index', _draggables[c1].css('z-index') - 1); _draggables[c1].css('z-index', parseInt(_draggables[c1].css('z-index'), 10) - 1);
} }
c1 += 1; c1 += 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment