Highlight quoted post during quote preview. close #81
This commit is contained in:
parent
1ab233727e
commit
432702dd41
@ -1837,6 +1837,10 @@
|
|||||||
qp = $('#qp');
|
qp = $('#qp');
|
||||||
if (el = d.getElementById(id)) {
|
if (el = d.getElementById(id)) {
|
||||||
qp.innerHTML = el.innerHTML;
|
qp.innerHTML = el.innerHTML;
|
||||||
|
if (el.className === 'reply') {
|
||||||
|
el.className = 'replyhl';
|
||||||
|
this.setAttribute('onmouseout', "document.getElementById(" + id + ").className='reply'; this.removeAttribute('onmouseout');");
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
qp.innerHTML = "Loading " + id + "...";
|
qp.innerHTML = "Loading " + id + "...";
|
||||||
threadID = this.pathname.split('/').pop();
|
threadID = this.pathname.split('/').pop();
|
||||||
|
|||||||
@ -1457,6 +1457,9 @@ quotePreview =
|
|||||||
qp = $ '#qp'
|
qp = $ '#qp'
|
||||||
if el = d.getElementById id
|
if el = d.getElementById id
|
||||||
qp.innerHTML = el.innerHTML
|
qp.innerHTML = el.innerHTML
|
||||||
|
if el.className is 'reply'
|
||||||
|
el.className = 'replyhl'
|
||||||
|
@setAttribute 'onmouseout', "document.getElementById(#{id}).className='reply'; this.removeAttribute('onmouseout');"
|
||||||
else
|
else
|
||||||
qp.innerHTML = "Loading #{id}..."
|
qp.innerHTML = "Loading #{id}..."
|
||||||
threadID = @pathname.split('/').pop()
|
threadID = @pathname.split('/').pop()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user