Update '12/dragable.js'

master
barkaiavital 5 years ago
parent a6a2e04ffb
commit 904c562d8b

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

Loading…
Cancel
Save