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