Fix quoting the OP didn't select the thread ID.

This commit is contained in:
Nicolas Stepien 2012-02-20 18:15:47 +01:00
parent 18898b825c
commit 734eeae827
2 changed files with 2 additions and 2 deletions

View File

@ -1379,7 +1379,7 @@
if (e != null) e.preventDefault();
qr.open();
if (!g.REPLY) {
$('select', qr.el).value = $.x('ancestor::div', this).firstChild.id;
$('select', qr.el).value = $.x('ancestor::div[@class="thread"]', this).firstChild.id;
}
id = this.previousElementSibling.hash.slice(1);
text = ">>" + id + "\n";

View File

@ -1023,7 +1023,7 @@ qr =
e?.preventDefault()
qr.open()
unless g.REPLY
$('select', qr.el).value = $.x('ancestor::div', @).firstChild.id
$('select', qr.el).value = $.x('ancestor::div[@class="thread"]', @).firstChild.id
# Make sure we get the correct number, even with XXX censors
id = @previousElementSibling.hash[1..]