From: David ‘Bombe’ Roden Date: Sun, 24 Nov 2019 11:25:35 +0000 (+0100) Subject: 📝 Fix some JSDocs X-Git-Tag: v81^2~19 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=ec8b354e2e78c17bd02649a0a618d258e28e306b;p=Sone.git 📝 Fix some JSDocs --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 8e599ae..372a498 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -1273,7 +1273,7 @@ function getCurrentSoneId() { /** * Returns the content of the page-id attribute. * - * @returns The page ID + * @returns String The page ID */ function getPageId() { return sone.find(".page-id").text(); @@ -1617,7 +1617,7 @@ function updatePostTimes(postIds) { /** * Updates the time of the reply with the given ID. * - * @param postId + * @param replyId * The ID of the reply to update * @param timeText * The text of the time to show @@ -1638,7 +1638,7 @@ function updateReplyTime(replyId, timeText, refreshTime, tooltip) { /** * Requests new rendered times for the posts with the given IDs. * - * @param postIds + * @param replyIds * Comma-separated post IDs */ function updateReplyTimes(replyIds) {