From 6b4e55d72713b2b47a86ea3fee1f6203aef1b4c3 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sun, 2 Sep 2012 15:00:57 +0200 Subject: [PATCH] replyhl is no more. --- 4chan_x.user.js | 3 --- script.coffee | 3 --- 2 files changed, 6 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index ebc33e973..f8a4d21d7 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3828,8 +3828,6 @@ } if (Conf['Quote Inline']) { $.on(link, 'click', QuoteInline.toggle); - } else { - link.setAttribute('onclick', "replyhl('" + post.ID + "');"); } if (!(container = $.id("blc" + qid))) { container = $.el('span', { @@ -4124,7 +4122,6 @@ if (board === g.BOARD && $.id("p" + id)) { a.href = "#p" + id; a.className = 'quotelink'; - a.setAttribute('onclick', "replyhl('" + id + "');"); } else { a.href = Redirect.thread(board, 0, id); a.className = 'deadlink'; diff --git a/script.coffee b/script.coffee index d95f2b17f..da687f053 100644 --- a/script.coffee +++ b/script.coffee @@ -3039,8 +3039,6 @@ QuoteBacklink = $.on link, 'mouseover', QuotePreview.mouseover if Conf['Quote Inline'] $.on link, 'click', QuoteInline.toggle - else - link.setAttribute 'onclick', "replyhl('#{post.ID}');" unless container = $.id "blc#{qid}" container = $.el 'span', className: 'container' @@ -3268,7 +3266,6 @@ Quotify = if board is g.BOARD and $.id "p#{id}" a.href = "#p#{id}" a.className = 'quotelink' - a.setAttribute 'onclick', "replyhl('#{id}');" else a.href = Redirect.thread board, 0, id a.className = 'deadlink'