diff --git a/js/lcn/classes.js b/js/lcn/classes.js index eb29a0df..37bc260f 100644 --- a/js/lcn/classes.js +++ b/js/lcn/classes.js @@ -179,6 +179,7 @@ globalThis.LCNThread = class LCNThread { "getThread" () { return this.#thread; } "getOP" () { return this.#op; } "getPosts" () { return Array.prototype.map.apply(this.#thread.querySelectorAll(".post"), [ el => LCNPost.assign(el) ]); } + "getReplies" () { return Array.prototype.map.apply(this.#thread.querySelectorAll(".post:not(.op)"), [ el => LCNPost.assign(el) ]); } "getParent" () { return this.#parent; } "__setParent" (inst) { return this.#parent = inst; }