fixes #2846: revert postvote js change
This commit is contained in:
@@ -480,6 +480,14 @@
|
|||||||
Danbooru.Post.initialize_title_for($post);
|
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.update = function(post_id, params) {
|
||||||
Danbooru.Post.notice_update("inc");
|
Danbooru.Post.notice_update("inc");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user