mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fix(view) audio, video has no focus, when open by mouse
This commit is contained in:
parent
78092dc067
commit
c60c87fef6
1 changed files with 3 additions and 1 deletions
|
|
@ -157,7 +157,9 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
Events.rmKey(onKey);
|
||||
},
|
||||
afterShow: function() {
|
||||
element.focus();
|
||||
element
|
||||
.querySelector('audio, video')
|
||||
.focus();
|
||||
},
|
||||
helpers: {
|
||||
overlay : null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue