diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index a10fb32dd..16d56e31e 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -3889,7 +3889,7 @@ return "/" + thread.board + "/ - " + excerpt; }, threadFromRoot: function(root) { - return g.threads[$('.opcontainer', root).dataset.fullID]; + return g.threads[$('.opContainer', root).dataset.fullID]; }, threadFromNode: function(node) { return Get.threadFromRoot($.x('ancestor::div[@class="thread"]', node)); diff --git a/builds/crx/script.js b/builds/crx/script.js index fd0210058..1df2eef4b 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -3948,7 +3948,7 @@ return "/" + thread.board + "/ - " + excerpt; }, threadFromRoot: function(root) { - return g.threads[$('.opcontainer', root).dataset.fullID]; + return g.threads[$('.opContainer', root).dataset.fullID]; }, threadFromNode: function(node) { return Get.threadFromRoot($.x('ancestor::div[@class="thread"]', node)); diff --git a/src/General/Get.coffee b/src/General/Get.coffee index 006aab3f0..3e7367753 100755 --- a/src/General/Get.coffee +++ b/src/General/Get.coffee @@ -8,7 +8,7 @@ Get = excerpt = "#{excerpt[...67]}..." "/#{thread.board}/ - #{excerpt}" threadFromRoot: (root) -> - g.threads[$('.opcontainer', root).dataset.fullID] + g.threads[$('.opContainer', root).dataset.fullID] threadFromNode: (node) -> Get.threadFromRoot $.x 'ancestor::div[@class="thread"]', node postFromRoot: (root) ->