Explorar o código

fix dragging during scrolling

subDesTagesMitExtraKaese %!s(int64=2) %!d(string=hai) anos
pai
achega
9ed80b70c0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)