diff --git a/includes/script.js b/includes/script.js index 00ae14c..5d6c0f0 100644 --- a/includes/script.js +++ b/includes/script.js @@ -100,7 +100,7 @@ $(document).ready(function() { } function handleBitsyGameData() { - let input = $('#bitsy-data').val(); + let input = $bitsyData.val(); if ( ! input) { return; @@ -488,7 +488,7 @@ $(document).ready(function() { }); $('#save').on('click touchend', function() { - $textArea = $('textarea'); + let $textArea = $('textarea'); let newGameData = $textArea.val();