diff --git a/4chan_x/4chan_x.coffee b/4chan_x/4chan_x.coffee index 4c62ac52b..b8006a645 100644 --- a/4chan_x/4chan_x.coffee +++ b/4chan_x/4chan_x.coffee @@ -299,7 +299,7 @@ hideThread: (div) -> n += $$('table', div).length text: if n is 1 then "1 reply" else "$n replies" name: $('span.postername', div).textContent - trip: $('span.postertrip', div)?.textContent || '' + trip: $('span.postername + span.postertrip', div)?.textContent || '' a.textContent: "[ + ] $name$trip ($text)" a.className: 'pointer' a.addEventListener('click', showThread, true) diff --git a/4chan_x/4chan_x.js b/4chan_x/4chan_x.js index 46c159765..aea41e382 100644 --- a/4chan_x/4chan_x.js +++ b/4chan_x/4chan_x.js @@ -340,7 +340,7 @@ cursor: pointer; \ n += $$('table', div).length; text = n === 1 ? "1 reply" : ("" + n + " replies"); name = $('span.postername', div).textContent; - trip = ((_d = $('span.postertrip', div)) == undefined ? undefined : _d.textContent) || ''; + trip = ((_d = $('span.postername + span.postertrip', div)) == undefined ? undefined : _d.textContent) || ''; a.textContent = ("[ + ] " + name + trip + " (" + text + ")"); a.className = 'pointer'; a.addEventListener('click', showThread, true); diff --git a/4chan_x/header b/4chan_x/header index e3fa8ffae..b002803d5 100644 --- a/4chan_x/header +++ b/4chan_x/header @@ -2,7 +2,7 @@ // @name 4chan x // @namespace aeosynth // @description Adds various features; replaces the extension / fychan. -// @version 1.0.6 +// @version 1.0.7 // @copyright 2009, 2010 James Campos // @license MIT; http://en.wikipedia.org/wiki/Mit_license // @include http://boards.4chan.org/*