ie11 fix getBoundingClientRect() error missing ";"
This commit is contained in:
parent
7ab9ce686f
commit
b0babd3f25
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ var FontMetrics = exports.FontMetrics = function(parentEl, interval) {
|
||||||
try {
|
try {
|
||||||
rect = this.$measureNode.getBoundingClientRect();
|
rect = this.$measureNode.getBoundingClientRect();
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
rect = {width: 0, height:0 }
|
rect = {width: 0, height:0 };
|
||||||
};
|
};
|
||||||
var size = {
|
var size = {
|
||||||
height: rect.height,
|
height: rect.height,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue