diff options
Diffstat (limited to 'plugins/jetpack/_inc/build/accessible-focus.min.js')
-rw-r--r-- | plugins/jetpack/_inc/build/accessible-focus.min.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/jetpack/_inc/build/accessible-focus.min.js b/plugins/jetpack/_inc/build/accessible-focus.min.js index 0c394f6a..c9ac75c3 100644 --- a/plugins/jetpack/_inc/build/accessible-focus.min.js +++ b/plugins/jetpack/_inc/build/accessible-focus.min.js @@ -1,2 +1 @@ -/* Do not modify this file directly. It is compiled from other files. */ -var keyboardNavigation=!1,keyboardNavigationKeycodes=[9,32,37,38,39,40];document.addEventListener("keydown",function(e){keyboardNavigation||-1!==keyboardNavigationKeycodes.indexOf(e.keyCode)&&(keyboardNavigation=!0,document.documentElement.classList.add("accessible-focus"))}),document.addEventListener("mouseup",function(){keyboardNavigation&&(keyboardNavigation=!1,document.documentElement.classList.remove("accessible-focus"))});
\ No newline at end of file +!function(){var e=!1,n=[9,32,37,38,39,40];document.addEventListener("keydown",(function(c){e||-1!==n.indexOf(c.keyCode)&&(e=!0,document.documentElement.classList.add("accessible-focus"))})),document.addEventListener("mouseup",(function(){e&&(e=!1,document.documentElement.classList.remove("accessible-focus"))}))}();
\ No newline at end of file |