Commit 14c1b370 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

fixed list dragging, ignoring hidden

parent cf1ee673
......@@ -63,9 +63,11 @@ function actual_dragging_init(){
if (list.addEventListener) list.addEventListener('DOMMouseScroll', wheelEvent_list, false);
list.onmousewheel = wheelEvent_list;
var h = markers.length*100;
$("#model_table").draggable({
axis: "y",
containment:[0,-$("#model_table").height(),0,$("#model_table").height()],
containment:[0,-h,0,h],
drag: function(){
Dragged = true;
}
......
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