fixes #2846: revert postvote js change

This commit is contained in:
r888888888
2017-01-17 14:55:53 -08:00
parent 268b7b99ad
commit a53341d112

View File

@@ -480,6 +480,14 @@
Danbooru.Post.initialize_title_for($post);
}
Danbooru.Post.vote = function(score, id) {
Danbooru.notice("Voting...");
$.post("/posts/" + id + "/votes.js", {
score: score
});
}
Danbooru.Post.update = function(post_id, params) {
Danbooru.Post.notice_update("inc");