mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
eslint: ref window.ffz instead of just ffz
This commit is contained in:
parent
0b22b084e6
commit
6c24c109d2
1 changed files with 1 additions and 1 deletions
|
@ -729,7 +729,7 @@ export default class Scroller extends Module {
|
|||
|
||||
|
||||
cleanMessages(el) {
|
||||
const react = ffz.site.fine.getReactInstance(el);
|
||||
const react = window.ffz.site.fine.getReactInstance(el);
|
||||
|
||||
// Make sure we have the right thing.
|
||||
if (!react || !Array.isArray(react.child?.memoizedProps))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue