diff --git a/4chan_x.user.js b/4chan_x.user.js
index 1f9e74450..721882299 100644
--- a/4chan_x.user.js
+++ b/4chan_x.user.js
@@ -1300,7 +1300,6 @@
thread = _ref2[ID];
for (ID in thread) {
post = thread[ID];
- $.log(post);
hiddenNum++;
}
}
@@ -3265,7 +3264,7 @@
capcodeStart = '';
capcode = '';
}
- flag = flagCode ? ("
") : '';
+ flag = flagCode ? ("
") : '';
if (file != null ? file.isDeleted : void 0) {
fileHTML = isOP ? ("
") + ("
") + " " : ("") + ("
") + " ";
} else if (file) {
@@ -3287,7 +3286,7 @@
file.twidth = file.theight = 100;
}
}
- if (board !== 'f') {
+ if (board.ID !== 'f') {
imgSrc = ("") + ("
");
}
a = $.el('a', {
@@ -5504,7 +5503,7 @@
continue;
}
count++;
- node = Build.postFromObject(postObject, ThreadUpdater.thread.board.ID);
+ node = Build.postFromObject(postObject, ThreadUpdater.thread.board);
nodes.push(node);
posts.push(new Post(node, ThreadUpdater.thread, ThreadUpdater.thread.board));
}
diff --git a/src/features.coffee b/src/features.coffee
index fc7374b6e..97b07ac69 100644
--- a/src/features.coffee
+++ b/src/features.coffee
@@ -254,7 +254,6 @@ Settings =
hiddenNum++
for ID, thread of ReplyHiding.getHiddenPosts().threads
for ID, post of thread
- $.log post
hiddenNum++
div = $.el 'div',
innerHTML: ": Clear manually hidden threads and posts on /#{g.BOARD}/."
@@ -1906,7 +1905,7 @@ Build =
flag =
if flagCode
- "
"
else
''
@@ -1940,7 +1939,7 @@ Build =
fileThumb += '.png'
file.twidth = file.theight = 100
- if board isnt 'f'
+ if board.ID isnt 'f'
imgSrc = "" +
"
"
@@ -3741,7 +3740,7 @@ ThreadUpdater =
continue if num <= ThreadUpdater.lastPost
# Insert new posts, not older ones.
count++
- node = Build.postFromObject postObject, ThreadUpdater.thread.board.ID
+ node = Build.postFromObject postObject, ThreadUpdater.thread.board
nodes.push node
posts.push new Post node, ThreadUpdater.thread, ThreadUpdater.thread.board