fix(view) show: close view on ESC

This commit is contained in:
coderaiser 2017-06-23 17:12:36 +03:00
parent 64e6048d7b
commit 70986f5a51

View file

@ -101,7 +101,7 @@ function show(data, options) {
if (Loading)
return;
if (options && options.bindKeys !== false)
if (!options || options.bindKeys !== false)
Events.addKey(listener);
El = $('<div class="view" tabindex=0>');