mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
fix(view) isVideo: isMatch always undefined
This commit is contained in:
parent
0db8107279
commit
10f844dac6
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
function isVideo(name) {
|
||||
var isMatch;
|
||||
|
||||
Util.checkExt(name, ['mp4', 'avi']);
|
||||
isMatch = Util.checkExt(name, ['mp4', 'avi']);
|
||||
|
||||
return isMatch;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue