projects
/
raphael
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0.8.6 Slpping in another fix for FF 3.5
[raphael]
/
raphael.js
diff --git
a/raphael.js
b/raphael.js
index
c30c9a2
..
c9ded94
100644
(file)
--- 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};