mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
feature(view) isAudio: add m4a
This commit is contained in:
parent
3f39e4ac11
commit
78092dc067
1 changed files with 4 additions and 1 deletions
|
|
@ -156,6 +156,9 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
Config.beforeClose();
|
||||
Events.rmKey(onKey);
|
||||
},
|
||||
afterShow: function() {
|
||||
element.focus();
|
||||
},
|
||||
helpers: {
|
||||
overlay : null,
|
||||
title : null
|
||||
|
|
@ -200,7 +203,7 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
}
|
||||
|
||||
function isAudio(name) {
|
||||
return /\.(mp3|ogg)$/.test(name);
|
||||
return /\.(mp3|ogg|m4a)$/.test(name);
|
||||
}
|
||||
|
||||
function isVideo(name) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue