implement saved searches, move user boolean settings to bitprefs
This commit is contained in:
@@ -497,6 +497,13 @@
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Danbooru.Post.save_search = function() {
|
||||
$.post(
|
||||
"/saved_searches.js",
|
||||
{"saved_search[tag_query]": $("#tags").val()}
|
||||
);
|
||||
}
|
||||
})();
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
@@ -18,6 +18,10 @@ article.post-preview {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#saved-searches-nav {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
a.blacklisted-active {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user