Fix the QR showing incorrect file data when opening multiple files at once.

This commit is contained in:
Mayhem 2013-08-28 20:38:32 +02:00
parent 455778f865
commit 4742e7dac6

View File

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