Fix canceling file location dialog

Fixes issue #6
This commit is contained in:
Jordan Eldredge 2014-11-07 16:19:52 -08:00
parent 767f83a730
commit 771a7bdb8f

View file

@ -213,7 +213,9 @@ function Winamp () {
this.nodes.fileInput.onchange = function(e){
var file = e.target.files[0];
self.startFileViaReference(file);
if(file) {
self.startFileViaReference(file);
}
}
this.nodes.volume.onmousedown = function() {