Fix title not being set on post previews in the QR when adding multiple files.

This commit is contained in:
Mayhem 2014-02-05 09:22:30 +01:00
parent 1653306439
commit 5a29b74581

View File

@ -153,7 +153,10 @@ QR.post = class
@filesize = $.bytesToString file.size
@nodes.label.hidden = false if QR.spoiler
URL.revokeObjectURL @URL
@showFileData() if @ is QR.selected
if @ is QR.selected
@showFileData()
else
@updateFilename()
unless /^image/.test file.type
@nodes.el.style.backgroundImage = null
return