diff --git a/CHANGELOG.md b/CHANGELOG.md index 3815286ff..51a4e11f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +seaweedchan: +- Allow thread watcher to load on catalog + ### 1.0.10: - Add message pertaining to rewrite diff --git a/builds/4chan-X.js b/builds/4chan-X.js index ce5597116..5d3d9a14a 100644 --- a/builds/4chan-X.js +++ b/builds/4chan-X.js @@ -6606,7 +6606,7 @@ ThreadWatcher = { init: function() { - if (g.VIEW === 'catalog' || !Conf['Thread Watcher']) { + if (!Conf['Thread Watcher']) { return; } this.dialog = UI.dialog('watcher', 'top: 50px; left: 0px;', '
Thread Watcher
'); diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index ab4d0bbd1..8b51d4e48 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -6602,7 +6602,7 @@ ThreadWatcher = { init: function() { - if (g.VIEW === 'catalog' || !Conf['Thread Watcher']) { + if (!Conf['Thread Watcher']) { return; } this.dialog = UI.dialog('watcher', 'top: 50px; left: 0px;', '
Thread Watcher
'); diff --git a/builds/crx/script.js b/builds/crx/script.js index 3ba8cc98f..379f1af1e 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -6466,7 +6466,7 @@ ThreadWatcher = { init: function() { - if (g.VIEW === 'catalog' || !Conf['Thread Watcher']) { + if (!Conf['Thread Watcher']) { return; } this.dialog = UI.dialog('watcher', 'top: 50px; left: 0px;', '
Thread Watcher
'); diff --git a/src/features/monitoring/threadwatcher.coffee b/src/features/monitoring/threadwatcher.coffee index b7bf6a2fb..e4cf75da0 100644 --- a/src/features/monitoring/threadwatcher.coffee +++ b/src/features/monitoring/threadwatcher.coffee @@ -1,6 +1,6 @@ ThreadWatcher = init: -> - return if g.VIEW is 'catalog' or !Conf['Thread Watcher'] + return unless Conf['Thread Watcher'] @dialog = UI.dialog 'watcher', 'top: 50px; left: 0px;', '
Thread Watcher
'