diff --git a/4chan_x.user.js b/4chan_x.user.js index 039ba1c74..7612e9c4b 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2840,7 +2840,7 @@ node: function(root) { var node, time; if (root.className === 'inline') return; - node = $('.posttime', root); + node = $('.posttime', root) || $('span[id]', root).previousSibling; Time.date = Time.parse(node); time = $.el('time', { textContent: ' ' + Time.funk(Time) + ' ' diff --git a/script.coffee b/script.coffee index d1111fd2d..01547fd3f 100644 --- a/script.coffee +++ b/script.coffee @@ -2338,7 +2338,8 @@ Time = g.callbacks.push @node node: (root) -> return if root.className is 'inline' - node = $ '.posttime', root + # .posttime exists on every board except /f/ + node = $('.posttime', root) or $('span[id]', root).previousSibling Time.date = Time.parse node time = $.el 'time', textContent: ' ' + Time.funk(Time) + ' '