From d22facade7c964fa704c40fe5c894ef4f81f7578 Mon Sep 17 00:00:00 2001 From: MasterGordon Date: Sun, 8 Apr 2018 13:31:15 +0200 Subject: [PATCH] text > val --- js/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/game.js b/js/game.js index 00a12dc..5499414 100644 --- a/js/game.js +++ b/js/game.js @@ -25,7 +25,7 @@ var renderItems = true $(document).ready(function() { $("#save").click(function() { save() - $("#textarea").text(JSON.stringify(game)) + $("#textarea").val(JSON.stringify(game)) }) $("#load").click(function() { game = JSON.parse($("#textarea").val())