aboutsummaryrefslogtreecommitdiffstats
path: root/ui/effects.explode.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/effects.explode.js')
-rw-r--r--ui/effects.explode.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/effects.explode.js b/ui/effects.explode.js
index 0578ec51b..6d43ae4fd 100644
--- a/ui/effects.explode.js
+++ b/ui/effects.explode.js
@@ -24,8 +24,8 @@ $.effects.explode = function(o) {
var offset = el.offset();
//Substract the margins - not fixing the problem yet.
- offset.top -= parseInt(el.css("marginTop")) || 0;
- offset.left -= parseInt(el.css("marginLeft")) || 0;
+ offset.top -= parseInt(el.css("marginTop"),10) || 0;
+ offset.left -= parseInt(el.css("marginLeft"),10) || 0;
var width = el.outerWidth(true);
var height = el.outerHeight(true);