fix(view) close modals using ESC

show: bindKeys: truthy-> not equal false (abc727b846)
This commit is contained in:
coderaiser 2021-06-27 15:56:33 +03:00
parent abe512c655
commit 4d9878b574

View file

@ -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', {