move a few options to a general tab in options panel

This commit is contained in:
czaks 2014-09-20 22:10:44 +02:00
parent ea3c571d6c
commit f5820d2aae
5 changed files with 99 additions and 21 deletions

View file

@ -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);
});