implement saved searches, move user boolean settings to bitprefs

This commit is contained in:
r888888888
2014-06-03 15:54:22 -07:00
parent 901aa1264c
commit f02f72fac1
27 changed files with 547 additions and 105 deletions

View File

@@ -497,6 +497,13 @@
}
});
}
Danbooru.Post.save_search = function() {
$.post(
"/saved_searches.js",
{"saved_search[tag_query]": $("#tags").val()}
);
}
})();
$(document).ready(function() {

View File

@@ -18,6 +18,10 @@ article.post-preview {
overflow: hidden;
}
#saved-searches-nav {
margin-top: 1em;
}
a.blacklisted-active {
font-weight: bold;
}