mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(view) close modals using ESC
show: bindKeys: truthy-> not equal false (abc727b846)
This commit is contained in:
parent
abe512c655
commit
4d9878b574
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ async function show(data, options = {}) {
|
|||
if (Loading)
|
||||
return;
|
||||
|
||||
if (!options || options.bindKeys)
|
||||
if (!options || options.bindKeys !== false)
|
||||
Events.addKey(listener);
|
||||
|
||||
El = createElement('div', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue