Remove ES6 function declarations.

This commit is contained in:
Will Scullin 2019-06-15 09:16:11 -07:00
parent 81adfff2e4
commit 024ca76800
No known key found for this signature in database
GPG Key ID: 9092A5C0A673416B
2 changed files with 2 additions and 2 deletions

View File

@ -763,7 +763,7 @@ function _keydown(evt) {
document.querySelector('#display > div').classList.toggle('flexbox-centering');
document.querySelector('#screen').classList.toggle('maxhw');
document.querySelector('#header').classList.toggle('hidden');
document.querySelectorAll('.inset').forEach((el) => el.classList.toggle('hidden'));
document.querySelectorAll('.inset').forEach(function(el) { el.classList.toggle('hidden'); });
} else if (document.webkitCancelFullScreen) {
if (document.webkitIsFullScreen) {
document.webkitCancelFullScreen();

View File

@ -730,7 +730,7 @@ function _keydown(evt) {
document.querySelector('#display > div').classList.toggle('flexbox-centering');
document.querySelector('#screen').classList.toggle('maxhw');
document.querySelector('#header').classList.toggle('hidden');
document.querySelectorAll('.inset').forEach((el) => el.classList.toggle('hidden'));
document.querySelectorAll('.inset').forEach(function(el) { el.classList.toggle('hidden'); });
document.querySelector('#reset').classList.toggle('hidden');
} else if (document.webkitCancelFullScreen) {
if (document.webkitIsFullScreen) {