From 750c9c71411b2a9ba1d4e42621d2f2419f78a177 Mon Sep 17 00:00:00 2001 From: Harikrishnan K Date: Fri, 11 Dec 2015 12:04:03 +0530 Subject: [PATCH] Update svgutils.js remove the commented 'if' to resolve #48 --- editor/svgutils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/svgutils.js b/editor/svgutils.js index bce54e93..befbb302 100644 --- a/editor/svgutils.js +++ b/editor/svgutils.js @@ -500,14 +500,14 @@ svgedit.utilities.getBBox = function(elem) { // This is resolved in later versions of webkit, perhaps we should // have a featured detection for correct 'use' behavior? // —————————— - //if(!svgedit.browser.isWebkit()) { + if(!svgedit.browser.isWebkit()) { var bb = {}; bb.width = ret.width; bb.height = ret.height; bb.x = ret.x + parseFloat(selected.getAttribute('x')||0); bb.y = ret.y + parseFloat(selected.getAttribute('y')||0); ret = bb; - //} + } } else if(~visElems_arr.indexOf(elname)) { if (selected) { ret = selected.getBBox(); } else {