From 34ab62360878b4216348a5a71864a5851fa752a8 Mon Sep 17 00:00:00 2001 From: Captain-Coder Date: Wed, 30 May 2018 17:18:13 +0000 Subject: [PATCH] dismiss message by keyboard only --- themes/default/js/greeter.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/themes/default/js/greeter.js b/themes/default/js/greeter.js index d995d773..0774c974 100644 --- a/themes/default/js/greeter.js +++ b/themes/default/js/greeter.js @@ -870,6 +870,9 @@ class Theme { $msg_container.html( $msg_container.html() + text ); $( '#collapseTwo .user-wrap2' ).hide(); this.$msg_area_container.show(); + $msg_container + .find('.close') + .focus(); } dismiss_message() {