mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[ResizeChecker] removed jquery width and height calls since they were causing extra browser reflows in ff
This commit is contained in:
parent
7f2c00c04f
commit
547f559bc6
1 changed files with 3 additions and 3 deletions
|
@ -52,8 +52,8 @@ define(function (require) {
|
|||
*/
|
||||
ResizeChecker.prototype.read = function () {
|
||||
return {
|
||||
w: this.$el.width(),
|
||||
h: this.$el.height()
|
||||
w: this.$el[0].clientWidth,
|
||||
h: this.$el[0].clientHeight
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -204,4 +204,4 @@ define(function (require) {
|
|||
|
||||
return ResizeChecker;
|
||||
};
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue