We were inserting the same Post twice in QR.posts,
once in the constructor, and once in the splice.
This commit is contained in:
Mayhem 2013-07-30 15:13:33 +02:00
parent 5cd7e0c5e0
commit 6ee8dc83a7

View File

@ -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()