Преглед на файлове

fix dragging during scrolling

subDesTagesMitExtraKaese преди 2 години
родител
ревизия
9ed80b70c0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      zitap/static/zitap/js/mouse-drag.js

+ 1 - 1
zitap/static/zitap/js/mouse-drag.js

@@ -63,7 +63,7 @@ window.onload = function()
     {
       rectElement = document.createElement("div")
       rectElement.id = "rect"
-      rectElement.style.position = "absolute"
+      rectElement.style.position = "fixed"
       rectElement.style.border = "1px solid black"
       rectElement.style.zIndex = "100"
       document.body.appendChild(rectElement)