0.8.6 Slpping in another fix for FF 3.5
[raphael] / raphael.js
index c30c9a2..c9ded94 100644 (file)
@@ -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};