God damn.

This commit is contained in:
Nicolas Stepien 2011-11-24 01:20:10 +01:00
parent 312f0bcd34
commit 68459914c1
2 changed files with 2 additions and 2 deletions

View File

@ -2339,7 +2339,7 @@
e.preventDefault(); e.preventDefault();
id = this.hash.slice(1); id = this.hash.slice(1);
if (/\binlined\b/.test(this.className)) { if (/\binlined\b/.test(this.className)) {
$.rm = $.x("following::*[@id='i" + id + "']", this); $.rm($.x("following::*[@id='i" + id + "']", this));
} else { } else {
if ($.x("ancestor::*[@id='" + id + "']", this)) return; if ($.x("ancestor::*[@id='" + id + "']", this)) return;
quoteInline.add(this, id); quoteInline.add(this, id);

View File

@ -1804,7 +1804,7 @@ quoteInline =
id = @hash[1..] id = @hash[1..]
if /\binlined\b/.test @className if /\binlined\b/.test @className
# remove the corresponding table or loading td # remove the corresponding table or loading td
$.rm = $.x "following::*[@id='i#{id}']", @ $.rm $.x "following::*[@id='i#{id}']", @
else else
return if $.x("ancestor::*[@id='#{id}']", @) return if $.x("ancestor::*[@id='#{id}']", @)
quoteInline.add @, id quoteInline.add @, id