From 85d2994cce151544502862f8508fa499862f6a5f Mon Sep 17 00:00:00 2001 From: justcool393 Date: Fri, 14 Oct 2022 11:34:31 -0700 Subject: [PATCH] pin_post -> pinPost --- files/assets/js/submission+submission_listing.js | 2 +- files/templates/post_admin_actions_mobile.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/assets/js/submission+submission_listing.js b/files/assets/js/submission+submission_listing.js index 549291a3b..96dcd99c3 100644 --- a/files/assets/js/submission+submission_listing.js +++ b/files/assets/js/submission+submission_listing.js @@ -40,7 +40,7 @@ if (typeof showNewCommentCounts === 'undefined') { setTimeout(cleanCache, 500) } -function pin_post(t, id) { +function pinPost(t, id) { t.disabled = true; t.classList.add("disabled"); post_toast_callback(`/sticky/${id}`, diff --git a/files/templates/post_admin_actions_mobile.html b/files/templates/post_admin_actions_mobile.html index 043e8add8..0a92ce53c 100644 --- a/files/templates/post_admin_actions_mobile.html +++ b/files/templates/post_admin_actions_mobile.html @@ -23,7 +23,7 @@ {% endif %} {% if v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %} - + {% if "/reported/" in request.path %}