oops
This commit is contained in:
parent
7494a1a9b8
commit
a58b5c7670
@ -1135,10 +1135,10 @@
|
|||||||
el: link,
|
el: link,
|
||||||
order: 111,
|
order: 111,
|
||||||
open: function() {
|
open: function() {
|
||||||
return !Conf['Enable 4chan\'s extension'];
|
return Conf['Enable 4chan\'s extension'];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (!Conf['Enable 4chan\'s extension']) {
|
if (Conf['Enable 4chan\'s extension']) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
settings = JSON.parse(localStorage.getItem('4chan-settings')) || {};
|
settings = JSON.parse(localStorage.getItem('4chan-settings')) || {};
|
||||||
|
|||||||
@ -137,9 +137,9 @@ Settings =
|
|||||||
type: 'header'
|
type: 'header'
|
||||||
el: link
|
el: link
|
||||||
order: 111
|
order: 111
|
||||||
open: -> !Conf['Enable 4chan\'s extension']
|
open: -> Conf['Enable 4chan\'s extension']
|
||||||
|
|
||||||
return unless Conf['Enable 4chan\'s extension']
|
return if Conf['Enable 4chan\'s extension']
|
||||||
settings = JSON.parse(localStorage.getItem '4chan-settings') or {}
|
settings = JSON.parse(localStorage.getItem '4chan-settings') or {}
|
||||||
return if settings.disableAll
|
return if settings.disableAll
|
||||||
settings.disableAll = true
|
settings.disableAll = true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user