more
This commit is contained in:
parent
e2d7846d45
commit
2aac424dc2
@ -255,7 +255,7 @@ function init(prefix) {
|
|||||||
if ($dragging) {
|
if ($dragging) {
|
||||||
var x = ev.pageX - $(this).width() / 2,
|
var x = ev.pageX - $(this).width() / 2,
|
||||||
y = ev.pageY - $(this).height() / 2;
|
y = ev.pageY - $(this).height() / 2;
|
||||||
$dragging.offset({
|
e.offset({
|
||||||
top: y,
|
top: y,
|
||||||
left: x
|
left: x
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user