fix code style.
This commit is contained in:
parent
31c2978ca7
commit
2d39aca4a7
1 changed files with 2 additions and 2 deletions
|
|
@ -88,9 +88,9 @@ var FontMetrics = exports.FontMetrics = function(parentEl, interval) {
|
||||||
style.whiteSpace = "pre";
|
style.whiteSpace = "pre";
|
||||||
|
|
||||||
if (useragent.isIE < 8) {
|
if (useragent.isIE < 8) {
|
||||||
style['font-family'] = 'inherit';
|
style["font-family"] = "inherit";
|
||||||
} else {
|
} else {
|
||||||
style.font = 'inherit';
|
style.font = "inherit";
|
||||||
}
|
}
|
||||||
style.overflow = isRoot ? "hidden" : "visible";
|
style.overflow = isRoot ? "hidden" : "visible";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue