Update '12/dragable.js'

master
Max Lehmann 5 years ago
parent 1b5c0724ae
commit 7492e8d5cc

@ -43,7 +43,7 @@
}
/*End dragging*/
document.onmouseup = function(e) {
window.onmouseup = function(e) {
if (dragObj) {
dragObj = null;
window.removeEventListener('mousemove', dragObject, true);
@ -106,7 +106,7 @@ makeDragable('#shell_03header', '#shell_03')
}
/*End dragging*/
document.onmouseup = function(x) {
window.onmouseup = function(x) {
if (dragObj2) {
dragObj2 = null;
window.removeEventListener('mousemove', dragObject2, true);

Loading…
Cancel
Save