5404a54132abd61225118a726ec72534155634e7
custom.js
... | ... | @@ -29,7 +29,7 @@ window.onload = function() { |
29 | 29 | function start_drag() { |
30 | 30 | img_ele = this; |
31 | 31 | x_img_ele = window.event.clientX - document.getElementById('drag-img').offsetLeft; |
32 | - y_img_ele = window.event.clientY - document.getElementById('drag-img').offsetTop; |
|
32 | + y_img_ele = window.event.clientY - document.getElementById('drag-img').offsetTop + 600; |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | function stop_drag() { |