try fixing undefined behavior

This commit is contained in:
Jeff committed 2016-05-03 15:06:00 -04:00
1 parent 521c135498
commit 82d71588e9
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -390,8 +390,8 @@ function init(prefix) {
var x = ev.pageX - $(this).width() / 2,
y = ev.pageY - $(this).height() / 2;
$dragging.offset({
top: x,
left: y
top: y,
left: x
});
}
});