use NAMESPACE
This commit is contained in:
parent
f41c0494de
commit
fcff8bc70a
@ -1557,7 +1557,7 @@
|
|||||||
}
|
}
|
||||||
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 === ("" + NAMESPACE + "watched")) {
|
||||||
return watcher.refresh();
|
return watcher.refresh();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1272,7 +1272,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 "#{NAMESPACE}watched"
|
||||||
|
|
||||||
refresh: ->
|
refresh: ->
|
||||||
watched = $.getValue 'watched', {}
|
watched = $.getValue 'watched', {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user