From 45727f6a51faa04d4d424f6afb126342f056fa8b Mon Sep 17 00:00:00 2001 From: Jon <134811123+jonsmy@users.noreply.github.com> Date: Tue, 20 Feb 2024 18:38:37 +0000 Subject: [PATCH] js/lcn/classes.js: s/isRecentsPage/isModRecentsPage/ --- js/lcn/classes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/lcn/classes.js b/js/lcn/classes.js index b33fb26f..eb29a0df 100644 --- a/js/lcn/classes.js +++ b/js/lcn/classes.js @@ -274,7 +274,7 @@ $().ready(() => { // XXX: May be a cleaner way to do this but this should be fine for now. for (const clazz of clazzes) { void clazz.all(); } $(document).on("new_post", (e, post) => { - if (LCNSite.INSTANCE.isRecentsPage()) { + if (LCNSite.INSTANCE.isModRecentsPage()) { void LCNPostWrapper.all() } else { void LCNPostContainer.all()