add mock recommender service for development, add user-context recommended posts

This commit is contained in:
r888888888
2018-07-21 13:24:43 -07:00
parent 93c074c15b
commit 344c46ed00
20 changed files with 250 additions and 33 deletions

View File

@@ -452,6 +452,9 @@
$("#edit").hide();
$("#share").hide();
$("#recommended").show();
$.get("/recommended_posts", {context: "post", post_id: Danbooru.meta("post-id")}, function(data) {
$("#recommended").html(data);
});
} else {
$("#edit").hide();
$("#comments").hide();