From 70986f5a512725939b99055e4e01ee40cb656935 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 23 Jun 2017 17:12:36 +0300 Subject: [PATCH] fix(view) show: close view on ESC --- client/modules/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/modules/view.js b/client/modules/view.js index c9a6145f..1ab1b2e2 100644 --- a/client/modules/view.js +++ b/client/modules/view.js @@ -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 = $('
');