[FIX]web_kanban_gauge, lib justgage.js: comptability problem with Firefox (25.0 tested) with elem.node.firstChild.attributes.dy.value = 0;
bzr revid: dle@openerp.com-20131107140202-inlbhj7zvfg7bqix
This commit is contained in:
parent
db75733848
commit
8dd53f6652
|
@ -859,7 +859,7 @@ function getColor(val, pct, col, noGradient, custSec) {
|
|||
|
||||
/** Fix Raphael display:none tspan dy attribute bug */
|
||||
function setDy(elem, fontSize, txtYpos) {
|
||||
if (!ie || ie > 9) {
|
||||
if ((!ie || ie > 9) && elem.node.firstChild.attributes.dy) {
|
||||
elem.node.firstChild.attributes.dy.value = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue