Commit 6d7a1826 by Dmitry Baranovskiy

0.8.6 Slpping in another fix for FF 3.5

parent 19a3b74f
...@@ -1179,7 +1179,8 @@ window.Raphael = (function () { ...@@ -1179,7 +1179,8 @@ window.Raphael = (function () {
bbox = this.node.getBBox(); bbox = this.node.getBBox();
} catch(e) { } catch(e) {
// Firefox 3.0.x plays badly here // Firefox 3.0.x plays badly here
bbox = {}; } finally {
bbox = bbox || {};
} }
if (this.type == "text") { if (this.type == "text") {
bbox = {x: bbox.x, y: Infinity, width: bbox.width, height: 0}; bbox = {x: bbox.x, y: Infinity, width: bbox.width, height: 0};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment