Fix editor file type accepts

master
William Toohey 10 years ago
parent 8bb51da788
commit 9bf00e10f1
  1. 2
      src/js/HuesEditor.js

@ -836,7 +836,7 @@ HuesEditor.prototype.uiCreateSingleEditor = function(title, soundName, rhythmNam
let fileInput = document.createElement("input");
fileInput.type ="file";
fileInput.accept="audio/mp3|audio/wav|audio/ogg";
fileInput.accept=".mp3, .wav, .ogg";
fileInput.multiple = false;
fileInput.onchange = this.loadAudio.bind(this, container);
let load = this.createButton("Load " + title.replace(/ /g,""), rightHeader);

Loading…
Cancel
Save