From 72dbff8d5eb84feb4e4f0ee23e90e8fb8b7647c3 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Thu, 8 Oct 2020 17:41:41 +0100 Subject: [PATCH] ? --- includes/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();