mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
Remove ES6 function declarations.
This commit is contained in:
parent
81adfff2e4
commit
024ca76800
@ -763,7 +763,7 @@ function _keydown(evt) {
|
|||||||
document.querySelector('#display > div').classList.toggle('flexbox-centering');
|
document.querySelector('#display > div').classList.toggle('flexbox-centering');
|
||||||
document.querySelector('#screen').classList.toggle('maxhw');
|
document.querySelector('#screen').classList.toggle('maxhw');
|
||||||
document.querySelector('#header').classList.toggle('hidden');
|
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) {
|
} else if (document.webkitCancelFullScreen) {
|
||||||
if (document.webkitIsFullScreen) {
|
if (document.webkitIsFullScreen) {
|
||||||
document.webkitCancelFullScreen();
|
document.webkitCancelFullScreen();
|
||||||
|
@ -730,7 +730,7 @@ function _keydown(evt) {
|
|||||||
document.querySelector('#display > div').classList.toggle('flexbox-centering');
|
document.querySelector('#display > div').classList.toggle('flexbox-centering');
|
||||||
document.querySelector('#screen').classList.toggle('maxhw');
|
document.querySelector('#screen').classList.toggle('maxhw');
|
||||||
document.querySelector('#header').classList.toggle('hidden');
|
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');
|
document.querySelector('#reset').classList.toggle('hidden');
|
||||||
} else if (document.webkitCancelFullScreen) {
|
} else if (document.webkitCancelFullScreen) {
|
||||||
if (document.webkitIsFullScreen) {
|
if (document.webkitIsFullScreen) {
|
||||||
|
Loading…
Reference in New Issue
Block a user