drag only on left click

pull/1/head
yann300 6 years ago
parent 0f99a72f9a
commit 683cdcb652
  1. 1
      src/app/ui/draggableContent.js

@ -97,6 +97,7 @@ function dragElement (elmnt) {
function dragMouseDown (e) {
e = e || window.event
if (e.button != 0) return
e.preventDefault()
// get the mouse cursor position at startup:
pos3 = e.clientX

Loading…
Cancel
Save