We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b3bde3 commit b9c73aeCopy full SHA for b9c73ae
index.html
@@ -440,6 +440,13 @@
440
accept=".json"
441
tabindex="-1"
442
/>
443
+ <input
444
+ class="file"
445
+ type="file"
446
+ id="audio"
447
+ accept=".mp3, .wav"
448
+ tabindex="-1"
449
+ />
450
<input
451
class="file"
452
type="file"
js/block.js
@@ -2085,8 +2085,8 @@ class Block {
2085
* @param {number} thisBlock - Index of the current block.
2086
*/
2087
_doOpenMedia(thisBlock) {
2088
- const fileChooser = docById("myOpenAll");
2089
const that = this;
+ const fileChooser = that.name=="media" ? docById("myMedia") : docById("audio");
2090
2091
const __readerAction = () => {
2092
window.scroll(0, 0);
0 commit comments