]> git.0d.be Git - nanofun.git/commitdiff
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 140c994bdcfdb2d9b4384fcdd64f15b693e2d9dd..d4cd50f237f4d25069799b2fa771c1ed20e32967 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>