diff --git a/4chan_x.user.js b/4chan_x.user.js index 64de47864..c4de5ca96 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2339,7 +2339,7 @@ e.preventDefault(); id = this.hash.slice(1); if (/\binlined\b/.test(this.className)) { - $.rm = $.x("following::*[@id='i" + id + "']", this); + $.rm($.x("following::*[@id='i" + id + "']", this)); } else { if ($.x("ancestor::*[@id='" + id + "']", this)) return; quoteInline.add(this, id); diff --git a/script.coffee b/script.coffee index ed4a4b731..23afbae8a 100644 --- a/script.coffee +++ b/script.coffee @@ -1804,7 +1804,7 @@ quoteInline = id = @hash[1..] if /\binlined\b/.test @className # remove the corresponding table or loading td - $.rm = $.x "following::*[@id='i#{id}']", @ + $.rm $.x "following::*[@id='i#{id}']", @ else return if $.x("ancestor::*[@id='#{id}']", @) quoteInline.add @, id