Update shit.js

This commit is contained in:
noxy 2016-11-06 01:31:49 +00:00
parent 319cda0274
commit bfa3eff305

View File

@ -10,8 +10,7 @@
break; break;
} }
} }
if(document.readyState == 'complete' || document.readyState == if(document.readyState == 'complete' || document.readyState == 'loaded')
'loaded')
document.addEventListener('keydown', arrowKeys); document.addEventListener('keydown', arrowKeys);
else { else {
if(/Chrome/i.test(navigator.userAgent)) if(/Chrome/i.test(navigator.userAgent))