return asap

This commit is contained in:
James Campos 2011-05-22 12:05:19 -07:00
parent 2d75eedc54
commit 62ee272a06
2 changed files with 2 additions and 2 deletions

View File

@ -1745,10 +1745,10 @@
},
toggle: function(e) {
var el, id, inline, req, root, table, threadID;
e.preventDefault();
if (!(id = this.hash.slice(1))) {
return;
}
e.preventDefault();
root = $.x('ancestor::td[1]', this);
if (table = $("#i" + id, root)) {
$.rm(table);

View File

@ -1397,8 +1397,8 @@ quoteInline =
quote.removeAttribute 'onclick'
$.bind quote, 'click', quoteInline.toggle
toggle: (e) ->
e.preventDefault()
return unless id = @hash[1..]
e.preventDefault()
root = $.x 'ancestor::td[1]', @
if table = $ "#i#{id}", root
$.rm table