mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(view) show if music: add afterShow, beforeClose
This commit is contained in:
parent
598505fa62
commit
4e520d0522
1 changed files with 4 additions and 1 deletions
|
|
@ -95,7 +95,9 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
} else if (isMusic(path))
|
||||
getMusicElement(path, function(element) {
|
||||
$.fancybox.open(element, {
|
||||
beforeShow : musicBeforeShow
|
||||
beforeShow : musicBeforeShow,
|
||||
afterShow : onAfterShow,
|
||||
beforeClose : Key.setBind,
|
||||
});
|
||||
});
|
||||
else
|
||||
|
|
@ -158,6 +160,7 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
audioDiv.width(width);
|
||||
|
||||
Images.hideLoad();
|
||||
Key.unsetBind();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue