Not sure why this got removed, but re-adding fixes the thread watcher

This commit is contained in:
Jordan 2014-01-09 01:18:05 -07:00
parent 4d0b83941c
commit 0eae013b0b
3 changed files with 8 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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