mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-22 05:29:34 +01:00
highlightReply: work for OP
This commit is contained in:
parent
e9714b2260
commit
d48616fa04
@ -168,6 +168,11 @@ function highlightReply(id, event) {
|
|||||||
}
|
}
|
||||||
if (id) {
|
if (id) {
|
||||||
var post = document.getElementById('reply_'+id);
|
var post = document.getElementById('reply_'+id);
|
||||||
|
// No reply? Try OP.
|
||||||
|
if (!post) {
|
||||||
|
var post = document.getElementById('op_'+id);
|
||||||
|
}
|
||||||
|
|
||||||
if (post) {
|
if (post) {
|
||||||
post.className += ' highlighted';
|
post.className += ' highlighted';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user