mirror of
https://github.com/ayunami2000/ayunWebEPK.git
synced 2024-11-21 02:06:05 -08:00
h
This commit is contained in:
parent
836af8f4b8
commit
b60ba49f94
|
@ -269,7 +269,7 @@
|
|||
const fileItem = epkFiles[selectedFile];
|
||||
editorName.innerText = fileItem.name;
|
||||
const lowerName = fileItem.name.toLowerCase();
|
||||
if (lowerName.endsWith('.mp3')) {
|
||||
if (lowerName.endsWith('.mp3') || lowerName.endsWith('.ogg')) {
|
||||
editor.className = 'modea';
|
||||
editorAudio.src = window.URL.createObjectURL(fileItem.data);
|
||||
} else if (lowerName.endsWith('.png')) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user