mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
fix(view) getType: add return
This commit is contained in:
parent
c952992462
commit
e06041f613
1 changed files with 2 additions and 0 deletions
|
|
@ -192,6 +192,8 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
type = 'image';
|
||||
else if (isMedia(name))
|
||||
type = 'media';
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
function getMediaElement(src, callback) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue