From 0ed13c01f9d9a62e1d1525a649259c8f34d2c8f1 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 14 Jan 2017 17:06:17 -0500 Subject: Closing screenshot dialog prevent input elements to get focus --- assets/js/core/modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assets/js/core') diff --git a/assets/js/core/modal.js b/assets/js/core/modal.js index 6c43f051..792e7316 100644 --- a/assets/js/core/modal.js +++ b/assets/js/core/modal.js @@ -10,7 +10,7 @@ } function onCloseButtonClick() { - destroy(); + KB.trigger('modal.close'); } function onFormSubmit() { -- cgit v1.2.3