Not sure why this got removed, but re-adding fixes the thread watcher
This commit is contained in:
parent
4d0b83941c
commit
0eae013b0b
@ -12544,11 +12544,12 @@
|
||||
break;
|
||||
}
|
||||
try {
|
||||
return localStorage.getItem('4chan-settings');
|
||||
localStorage.getItem('4chan-settings');
|
||||
} catch (_error) {
|
||||
err = _error;
|
||||
return new Notice('warning', 'Cookies need to be enabled on 4chan for 4chan X to operate properly.', 30);
|
||||
new Notice('warning', 'Cookies need to be enabled on 4chan for 4chan X to operate properly.', 30);
|
||||
}
|
||||
return $.event('4chanXInitFinished');
|
||||
},
|
||||
callbackNodes: function(klass, nodes) {
|
||||
var cb, i, node;
|
||||
|
||||
@ -12518,11 +12518,12 @@
|
||||
return;
|
||||
}
|
||||
try {
|
||||
return localStorage.getItem('4chan-settings');
|
||||
localStorage.getItem('4chan-settings');
|
||||
} catch (_error) {
|
||||
err = _error;
|
||||
return new Notice('warning', 'Cookies need to be enabled on 4chan for 4chan X to operate properly.', 30);
|
||||
new Notice('warning', 'Cookies need to be enabled on 4chan for 4chan X to operate properly.', 30);
|
||||
}
|
||||
return $.event('4chanXInitFinished');
|
||||
},
|
||||
callbackNodes: function(klass, nodes) {
|
||||
var cb, i, node;
|
||||
|
||||
@ -226,6 +226,8 @@ Main =
|
||||
catch err
|
||||
new Notice 'warning', 'Cookies need to be enabled on 4chan for <%= meta.name %> to operate properly.', 30
|
||||
|
||||
$.event '4chanXInitFinished'
|
||||
|
||||
callbackNodes: (klass, nodes) ->
|
||||
i = 0
|
||||
cb = klass.callbacks
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user