Fix "Show all comments" link.

The second argument to `trigger` is supposed to be an array.

ref: https://danbooru.donmai.us/forum_topics/9127?page=250#forum_post_149379
This commit is contained in:
evazion
2018-08-08 23:44:35 -05:00
parent b56681a609
commit abe8b9c071
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ Comment.initialize_all = function() {
Comment.highlight_threshold_comments(Utility.meta("post-id"));
}
$(window).on("danbooru:index_for_post", (post_id, current_comment_section, include_below_threshold) => {
$(window).on("danbooru:index_for_post", (_event, post_id, current_comment_section, include_below_threshold) => {
if (include_below_threshold) {
$("#threshold-comments-notice-for-" + post_id).hide();
} else {