1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-20 20:51:50 +01:00

highlightReply: work for OP

This commit is contained in:
Fredrick Brennan 2015-03-30 11:53:51 +08:00
parent e9714b2260
commit d48616fa04

View File

@ -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';