From 6d7a182638e5c9afd217851460f475a9bd5f0bb1 Mon Sep 17 00:00:00 2001 From: Dmitry Baranovskiy Date: Tue, 11 Aug 2009 10:33:25 +1000 Subject: [PATCH] 0.8.6 Slpping in another fix for FF 3.5 --- raphael.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}; -- 2.39.2