From 4949d707c46aad8bd4711d85b10c1e0b1934318e Mon Sep 17 00:00:00 2001 From: Mayhem Date: Sun, 1 May 2011 17:22:34 +0200 Subject: [PATCH] Fix OP comment expansion, fix #54 --- 4chan_x.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.js b/4chan_x.js index b4153ecb2..8e42b2b83 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -468,7 +468,7 @@ innerHTML: xhr.responseText }); if (threadID === replyID) { - bq = $('blockqoute', body); + bq = $('blockquote', body); } else { _ref = $$('td[id]', body); for (_i = 0, _len = _ref.length; _i < _len; _i++) { diff --git a/script.coffee b/script.coffee index b495c1536..7edab72ad 100644 --- a/script.coffee +++ b/script.coffee @@ -309,7 +309,7 @@ expandComment = innerHTML: xhr.responseText if threadID is replyID - bq = $ 'blockqoute', body + bq = $ 'blockquote', body else #css selectors don't like ids starting with numbers, # getElementById only works for root document.