0.8.6 Slpping in another fix for FF 3.5
authorDmitry Baranovskiy <dbaranovskiy@Fresh-Air.sydney.atlassian.com>
Tue, 11 Aug 2009 00:33:25 +0000 (10:33 +1000)
committerDmitry Baranovskiy <dbaranovskiy@Fresh-Air.sydney.atlassian.com>
Tue, 11 Aug 2009 00:33:25 +0000 (10:33 +1000)
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};