From 8d91efc560015411fa2545b151607aba4f91cca7 Mon Sep 17 00:00:00 2001 From: James Campos Date: Fri, 3 Oct 2014 09:53:11 -0700 Subject: [PATCH] grab the whole post --- js/inline.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/js/inline.js b/js/inline.js index ff897ca3..55389f36 100644 --- a/js/inline.js +++ b/js/inline.js @@ -14,7 +14,7 @@ var postOP = this.pathname.match(/(\d+).html/)[1] var selector = postNum === postOP ? '.op .body' - : '#reply_' + postNum + ' .body' + : '#reply_' + postNum var node = this.className // XXX post hover element is added to the quoting post @@ -51,7 +51,7 @@ var add = function(link, $target) { var $clone = $target.clone(true) $clone.attr({ - "class": 'inline', + "class": 'inline post', id: 'inline_' + link.postNum }) $clone.insertBefore(link.node) @@ -59,11 +59,8 @@ $('head').append( '') $('.body a, .mentioned a')