diff --git a/4chan_x.js b/4chan_x.js index 49ffeef5c..ff5f1d32d 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -1693,7 +1693,7 @@ }, mouseover: function(e) { var el, id, qp, req, threadID; - id = this.textContent.replace(">>", ''); + id = this.textContent.slice(2); qp = $('#qp'); if (el = d.getElementById(id)) { qp.innerHTML = el.innerHTML; diff --git a/script.coffee b/script.coffee index bf083257a..2d9532872 100644 --- a/script.coffee +++ b/script.coffee @@ -1349,7 +1349,7 @@ quotePreview = $.bind quote, 'mousemove', ui.hover $.bind quote, 'mouseout', ui.hoverend mouseover: (e) -> - id = @textContent.replace ">>", '' + id = @textContent[2..] qp = $ '#qp' if el = d.getElementById id qp.innerHTML = el.innerHTML