From 4913f2d30ea2a93f5d5b7efbca00ef09e806263a Mon Sep 17 00:00:00 2001 From: Mike Lambert <mlambert@lyft.com> Date: Fri, 1 Jan 2021 21:39:51 -0800 Subject: [PATCH] Use 'var' to enable this to work on iOS --- notes/Chinese Tones/front-01.html | 2 +- notes/Pair Sounds/front-01.html | 2 +- notes/Spellings and Sounds/back-02.html | 2 +- notes/Spellings and Sounds/front-01.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/notes/Chinese Tones/front-01.html b/notes/Chinese Tones/front-01.html index 84146e8..24e8f25 100644 --- a/notes/Chinese Tones/front-01.html +++ b/notes/Chinese Tones/front-01.html @@ -62,7 +62,7 @@ </script> <script> - let max_sounds_shown = 3; + var max_sounds_shown = 3; function main() { var numAudio = Math.floor(Math.random() * 4); diff --git a/notes/Pair Sounds/front-01.html b/notes/Pair Sounds/front-01.html index bf39a2e..5bb275a 100644 --- a/notes/Pair Sounds/front-01.html +++ b/notes/Pair Sounds/front-01.html @@ -73,7 +73,7 @@ </script> <script> - let max_sounds_shown = 3; + var max_sounds_shown = 3; var main = function() { var posibilities; var numAudio = Math.floor(Math.random() * 2); diff --git a/notes/Spellings and Sounds/back-02.html b/notes/Spellings and Sounds/back-02.html index d795240..c4a88bf 100644 --- a/notes/Spellings and Sounds/back-02.html +++ b/notes/Spellings and Sounds/back-02.html @@ -53,7 +53,7 @@ </script> <script> - let max_sounds_shown = 3; + var max_sounds_shown = 3; var posibilities = getElems(function() {/*EOL {{Audio 1}} EOL*/}); // shuffling array diff --git a/notes/Spellings and Sounds/front-01.html b/notes/Spellings and Sounds/front-01.html index 7ae1d41..387b7ca 100644 --- a/notes/Spellings and Sounds/front-01.html +++ b/notes/Spellings and Sounds/front-01.html @@ -56,7 +56,7 @@ <script> - let max_sounds_shown = 3; + var max_sounds_shown = 3; function main() { var posibilities = getElems( function EOL() {/*EOL {{Audio 1}} EOL*/} );