Fix OP comment expansion, fix #54

This commit is contained in:
Mayhem 2011-05-01 17:22:34 +02:00
parent ae7e7cdf88
commit 4949d707c4
2 changed files with 2 additions and 2 deletions

View File

@ -468,7 +468,7 @@
innerHTML: xhr.responseText innerHTML: xhr.responseText
}); });
if (threadID === replyID) { if (threadID === replyID) {
bq = $('blockqoute', body); bq = $('blockquote', body);
} else { } else {
_ref = $$('td[id]', body); _ref = $$('td[id]', body);
for (_i = 0, _len = _ref.length; _i < _len; _i++) { for (_i = 0, _len = _ref.length; _i < _len; _i++) {

View File

@ -309,7 +309,7 @@ expandComment =
innerHTML: xhr.responseText innerHTML: xhr.responseText
if threadID is replyID if threadID is replyID
bq = $ 'blockqoute', body bq = $ 'blockquote', body
else else
#css selectors don't like ids starting with numbers, #css selectors don't like ids starting with numbers,
# getElementById only works for root document. # getElementById only works for root document.