Fix OP indication in expanded comments, close #254
This commit is contained in:
parent
0a6e76cb36
commit
438f12155e
@ -569,6 +569,9 @@
|
||||
if (quote.getAttribute('href') === quote.hash) {
|
||||
quote.pathname = "/" + g.BOARD + "/res/" + threadID;
|
||||
}
|
||||
if (quote.hash.slice(1) === threadID) {
|
||||
quote.innerHTML += ' (OP)';
|
||||
}
|
||||
if (conf['Quote Preview']) {
|
||||
$.bind(quote, 'mouseover', quotePreview.mouseover);
|
||||
$.bind(quote, 'mousemove', ui.hover);
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
master
|
||||
- mayhem
|
||||
fix OP indication in expanded comments
|
||||
|
||||
2.19.0
|
||||
- mayhem
|
||||
|
||||
@ -407,6 +407,8 @@ expandComment =
|
||||
for quote in $$ 'a.quotelink', bq
|
||||
if quote.getAttribute('href') is quote.hash
|
||||
quote.pathname = "/#{g.BOARD}/res/#{threadID}"
|
||||
if quote.hash[1..] is threadID
|
||||
quote.innerHTML += ' (OP)'
|
||||
if conf['Quote Preview']
|
||||
$.bind quote, 'mouseover', quotePreview.mouseover
|
||||
$.bind quote, 'mousemove', ui.hover
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user