limit file selector to audio files
authorFrédéric Péters <fpeters@0d.be>
Wed, 22 Feb 2017 10:32:56 +0000 (11:32 +0100)
committerFrédéric Péters <fpeters@0d.be>
Sat, 1 Apr 2017 10:37:18 +0000 (12:37 +0200)
index.html

index 140c994..d4cd50f 100644 (file)
@@ -14,7 +14,7 @@
    <div class="nanotouch" data-touch="0">
      <span class="name"></span>
      <span class="duration"></span>
-     <input type="file">
+     <input type="file" accept="audio/*">
      <input class="touch-gain" type="range" min="0" max="127" value="127">
    </div>
   </div>