diff options
Diffstat (limited to 'source/features/show-names.tsx')
-rw-r--r-- | source/features/show-names.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/features/show-names.tsx b/source/features/show-names.tsx index 1f53bc2a..ad0615e5 100644 --- a/source/features/show-names.tsx +++ b/source/features/show-names.tsx @@ -4,6 +4,7 @@ import select from 'select-dom'; import * as api from '../libs/api'; import features from '../libs/features'; import {getUsername, compareNames} from '../libs/utils'; +import onNewsfeedLoad from '../libs/on-newsfeed-load'; async function init(): Promise<false | void> { const usernameElements = select.all([ @@ -72,8 +73,8 @@ features.add({ include: [ features.isDashboard ], - load: features.onNewsfeedLoad, - init + load: features.onDomReady, + init: async () => onNewsfeedLoad(init) }); features.add({ |