js/lcn/classes.js: s/isRecentsPage/isModRecentsPage/
This commit is contained in:
parent
257626dcfc
commit
45727f6a51
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue