From cc71307ad654b750724b12488289397b6eac1222 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Mon, 27 Feb 2012 02:07:42 +0100 Subject: [PATCH] Use the .posttime selector only for the time formatting. I'm pretty sure every threads in every boards have updated since then. --- 4chan_x.user.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 7b73fbb9f..347e9fd61 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2847,7 +2847,7 @@ node: function(root) { var node, time; if (root.className === 'inline') return; - node = $('.posttime', root) || $('span[id]', root).previousSibling; + node = $('.posttime', root); Time.date = Time.parse(node); time = $.el('time', { textContent: ' ' + Time.funk(Time) + ' ' diff --git a/script.coffee b/script.coffee index eb77a9b78..89289dd98 100644 --- a/script.coffee +++ b/script.coffee @@ -2343,7 +2343,7 @@ Time = g.callbacks.push @node node: (root) -> return if root.className is 'inline' - node = $('.posttime', root) or $('span[id]', root).previousSibling + node = $ '.posttime', root Time.date = Time.parse node time = $.el 'time', textContent: ' ' + Time.funk(Time) + ' '