Archived
1
0
This commit is contained in:
Jeff Becker 2017-01-16 12:01:04 -05:00
parent 4305692727
commit 95b4dd7c91

View File

@ -255,8 +255,7 @@ function init(prefix) {
if ($dragging) {
var x = ev.pageX - $(this).width() / 2,
y = ev.pageY - $(this).height() / 2;
y -= $(e).height();
x -= $(e).width();
$(e).offset({
top: y,
left: x