Skip to content

Commit

Permalink
Fix tb buttons not showing sometimes on page load (#621)
Browse files Browse the repository at this point in the history
  • Loading branch information
creesch committed Sep 9, 2022
1 parent 86c0386 commit 0ce2313
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extension/data/modules/oldreddit.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ const self = new Module({
name: 'Old Reddit',
id: 'oldreddit',
alwaysEnabled: true,
}, () => {
}, async () => {
await TBCore.getModSubs();
// Looks like we are on old reddit. Activate!
if (TBCore.isOldReddit) {
setTimeout(() => {
Expand Down

0 comments on commit 0ce2313

Please sign in to comment.