diff --git a/4chan_x.user.js b/4chan_x.user.js index b5d5a38ad..0aa061f42 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -633,7 +633,7 @@ }, uniqueid: function(post) { var uniqueid; - if (uniqueid = $('.posteruid', post)) return uniqueid.textContent; + if (uniqueid = $('.posteruid', post.el)) return uniqueid.textContent; return false; }, tripcode: function(post) { diff --git a/script.coffee b/script.coffee index 0f6a5e595..c0ff8bb20 100644 --- a/script.coffee +++ b/script.coffee @@ -557,7 +557,7 @@ filter = name = if post.isOP then $ '.postername', post.el else $ '.commentpostername', post.el name.textContent uniqueid: (post) -> - if uniqueid = $ '.posteruid', post + if uniqueid = $ '.posteruid', post.el return uniqueid.textContent false tripcode: (post) ->