posts.js: remove dead search dropdown code.

This commit is contained in:
evazion
2018-09-04 12:07:45 -05:00
parent 49150c0166
commit c03af7f563

View File

@@ -614,16 +614,6 @@ Post.initialize_saved_searches = function() {
e.preventDefault();
});
$("#search-dropdown #wiki-search").click(function(e) {
window.location.href = "/wiki_pages?search%5Btitle%5D=" + encodeURIComponent($("#tags").val());
e.preventDefault();
});
$("#search-dropdown #artist-search").click(function(e) {
window.location.href = "/artists?search%5Bname%5D=" + encodeURIComponent($("#tags").val());
e.preventDefault();
});
}
Post.initialize_replace_image_dialog = function() {