blob: c9ac75c3b42e581aed84469a276f9178ebe7ac5f (
plain)
1
|
!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"))}))}();
|