From: Dmitry Baranovskiy Date: Tue, 11 Aug 2009 00:33:25 +0000 (+1000) Subject: 0.8.6 Slpping in another fix for FF 3.5 X-Git-Tag: semver~47 X-Git-Url: http://git.roojs.org/?p=raphael;a=commitdiff_plain;h=6d7a182638e5c9afd217851460f475a9bd5f0bb1 0.8.6 Slpping in another fix for FF 3.5 --- diff --git a/raphael.js b/raphael.js index c30c9a2..c9ded94 100644 --- a/raphael.js +++ b/raphael.js @@ -1179,7 +1179,8 @@ window.Raphael = (function () { bbox = this.node.getBBox(); } catch(e) { // Firefox 3.0.x plays badly here - bbox = {}; + } finally { + bbox = bbox || {}; } if (this.type == "text") { bbox = {x: bbox.x, y: Infinity, width: bbox.width, height: 0};