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