From c8d56e621c0367a894a1629e5782f48f51f4ecdf Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 22 Feb 2015 11:12:37 -0800 Subject: [PATCH] Legibility. --- src/General/lib/post.class | 5 ++++- src/General/lib/thread.class | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/General/lib/post.class b/src/General/lib/post.class index 4501cd0f2..fd45f2e83 100755 --- a/src/General/lib/post.class +++ b/src/General/lib/post.class @@ -91,7 +91,10 @@ class Post @isRebuilt = true @clones = g.posts[@fullID].clones clone.origin = @ for clone in @clones - g.posts.push @fullID, @thread.posts.push @, @board.posts.push @, @ + + @board.posts.push @ID, @ + @thread.posts.push @ID, @ + g.posts.push @fullID, @ parseComment: -> # Merge text nodes and remove empty ones. diff --git a/src/General/lib/thread.class b/src/General/lib/thread.class index 1b182dde2..7cddff905 100755 --- a/src/General/lib/thread.class +++ b/src/General/lib/thread.class @@ -18,7 +18,8 @@ class Thread @OP = null @catalogView = null - g.threads.push @fullID, @board.threads.push @, @ + @board.threads.push @ID, @ + g.threads.push @fullID, @ setPage: (pageNum) -> {info, quote} = @OP.nodes