Fix #1210
We were inserting the same Post twice in QR.posts, once in the constructor, and once in the splice.
This commit is contained in:
parent
5cd7e0c5e0
commit
6ee8dc83a7
@ -74,7 +74,8 @@ QR =
|
|||||||
QR.cleanNotifications()
|
QR.cleanNotifications()
|
||||||
d.activeElement.blur()
|
d.activeElement.blur()
|
||||||
$.rmClass QR.nodes.el, 'dump'
|
$.rmClass QR.nodes.el, 'dump'
|
||||||
for post in QR.posts.splice 0, QR.posts.length, new QR.post true
|
new QR.post true
|
||||||
|
for post in QR.posts.splice 0, QR.posts.length - 1
|
||||||
post.delete()
|
post.delete()
|
||||||
QR.cooldown.auto = false
|
QR.cooldown.auto = false
|
||||||
QR.status()
|
QR.status()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user