forked from leftypol/leftypol
move a few options to a general tab in options panel
This commit is contained in:
parent
ea3c571d6c
commit
f5820d2aae
5 changed files with 99 additions and 21 deletions
|
@ -37,6 +37,13 @@ $(function(){
|
|||
|
||||
document.location.reload();
|
||||
});
|
||||
$("<button>"+_("Erase")+"</button>").appendTo(stor).on("click", function() {
|
||||
if (confirm(_("Are you sure you want to erase your storage? This involves your hidden threads, watched threads, post password and many more."))) {
|
||||
localStorage.clear();
|
||||
document.location.reload();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$("#style-select").detach().css({float:"none","margin-bottom":0}).appendTo(tab.content);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue