From d48616fa0497463ac52117a79fa381f9125bae81 Mon Sep 17 00:00:00 2001 From: Fredrick Brennan Date: Mon, 30 Mar 2015 11:53:51 +0800 Subject: [PATCH] highlightReply: work for OP --- templates/main.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/main.js b/templates/main.js index 77f5b9f4..5401fa8b 100644 --- a/templates/main.js +++ b/templates/main.js @@ -168,6 +168,11 @@ function highlightReply(id, event) { } if (id) { var post = document.getElementById('reply_'+id); + // No reply? Try OP. + if (!post) { + var post = document.getElementById('op_'+id); + } + if (post) { post.className += ' highlighted';