From 9bf00e10f140b0bdc3561977aa0836c83a4d47c9 Mon Sep 17 00:00:00 2001 From: William Toohey Date: Sun, 14 Feb 2016 23:37:08 +1000 Subject: [PATCH] Fix editor file type accepts --- src/js/HuesEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/HuesEditor.js b/src/js/HuesEditor.js index 21c2bd2..6d29f00 100644 --- a/src/js/HuesEditor.js +++ b/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);