Remove previous quote preview when quote previewing in case it gets stuck by a low quality browser. Fix #494.
This commit is contained in:
parent
9956d337c2
commit
c715b933d8
@ -3190,6 +3190,9 @@
|
|||||||
if (/\binlined\b/.test(this.className)) {
|
if (/\binlined\b/.test(this.className)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (qp = $.id('qp')) {
|
||||||
|
$.rm(qp);
|
||||||
|
}
|
||||||
qp = UI.el = $.el('div', {
|
qp = UI.el = $.el('div', {
|
||||||
id: 'qp',
|
id: 'qp',
|
||||||
className: 'post reply dialog'
|
className: 'post reply dialog'
|
||||||
|
|||||||
@ -2422,6 +2422,8 @@ QuotePreview =
|
|||||||
return
|
return
|
||||||
mouseover: (e) ->
|
mouseover: (e) ->
|
||||||
return if /\binlined\b/.test @className
|
return if /\binlined\b/.test @className
|
||||||
|
if qp = $.id 'qp'
|
||||||
|
$.rm qp
|
||||||
qp = UI.el = $.el 'div',
|
qp = UI.el = $.el 'div',
|
||||||
id: 'qp'
|
id: 'qp'
|
||||||
className: 'post reply dialog'
|
className: 'post reply dialog'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user