diff --git a/4chan_x.user.js b/4chan_x.user.js index a21d717e2..22bf9f56d 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2835,7 +2835,7 @@ if (post["class"] === 'inline') { return; } - node = $('.dateTime', post.el); + node = $('.postInfo > .dateTime', post.el); Time.date = Time.parse(node.textContent); node.textContent = Time.funk(Time); return node.dataset.time = Time.date.toISOString(); diff --git a/script.coffee b/script.coffee index affc84de4..5485ee469 100644 --- a/script.coffee +++ b/script.coffee @@ -2247,8 +2247,7 @@ Time = Main.callbacks.push @node node: (post) -> return if post.class is 'inline' - # .posttime exists on every board except /f/ - node = $ '.dateTime', post.el + node = $ '.postInfo > .dateTime', post.el Time.date = Time.parse node.textContent node.textContent = Time.funk(Time) # Set the datetime attribute, ISO'd.