Bitchy.
This commit is contained in:
parent
99b1cfed0b
commit
3761376322
@ -1531,11 +1531,11 @@
|
||||
$.before(input, favicon);
|
||||
}
|
||||
watcher.refresh();
|
||||
return $.bind(window, 'storage', (function(e) {
|
||||
return $.bind(window, 'storage', function(e) {
|
||||
if (e.key === 'AEOS.4chan_x.watched') {
|
||||
return watcher.refresh();
|
||||
}
|
||||
}));
|
||||
});
|
||||
},
|
||||
refresh: function() {
|
||||
var board, dialog, div, favicon, id, link, props, watched, watchedBoard, x, _i, _j, _len, _len2, _ref, _ref2, _ref3, _results;
|
||||
|
||||
@ -1245,7 +1245,7 @@ watcher =
|
||||
#populate watcher, display watch buttons
|
||||
watcher.refresh()
|
||||
|
||||
$.bind window, 'storage', ((e) -> watcher.refresh() if e.key is 'AEOS.4chan_x.watched')
|
||||
$.bind window, 'storage', (e) -> watcher.refresh() if e.key is 'AEOS.4chan_x.watched'
|
||||
|
||||
refresh: ->
|
||||
watched = $.getValue 'watched', {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user