1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-05 10:38:30 +00:00

More fixes for the React 16 update.

This commit is contained in:
SirStendec 2018-02-22 18:38:13 -05:00
parent 0ae6e5021d
commit eb967e115f
9 changed files with 40 additions and 16 deletions

View file

@ -113,7 +113,7 @@ export default class Scroller extends Module {
this._ffz_freeze_visible = true;
let el = this._ffz_freeze_indicator;
if ( ! el ) {
const node = t.fine.getHostNode(this);
const node = t.fine.getChildNode(this);
if ( ! node )
return;
@ -204,7 +204,7 @@ export default class Scroller extends Module {
cls.prototype.ffzEnableFreeze = function() {
const node = t.fine.getHostNode(this);
const node = t.fine.getChildNode(this);
if ( ! node || this.ffz_freeze_enabled )
return;
@ -236,7 +236,7 @@ export default class Scroller extends Module {
this._ffz_outside = null;
}
const node = t.fine.getHostNode(this);
const node = t.fine.getChildNode(this);
if ( ! node )
return;