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:
parent
0ae6e5021d
commit
eb967e115f
9 changed files with 40 additions and 16 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue