Merge commit 'b11d5343137a5caf8083'

This commit is contained in:
James Campos 2011-05-15 10:18:01 -07:00
commit 5742127760
2 changed files with 2 additions and 2 deletions

View File

@ -1667,7 +1667,7 @@
}
id = root.id || $('td[id]', root).id;
quotes = {};
tid = g.THREAD_ID;
tid = g.THREAD_ID || root.parentNode.firstChild.id;
_ref = $$('a.quotelink', root);
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
quote = _ref[_i];

View File

@ -1336,7 +1336,7 @@ quoteBacklink =
#better coffee-script way of doing this?
id = root.id or $('td[id]', root).id
quotes = {}
tid = g.THREAD_ID
tid = g.THREAD_ID or root.parentNode.firstChild.id
for quote in $$ 'a.quotelink', root
continue unless qid = quote.hash[1..]
#don't backlink the op