text > val
This commit is contained in:
parent
6c04ac3df9
commit
d22facade7
|
|
@ -25,7 +25,7 @@ var renderItems = true
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$("#save").click(function() {
|
$("#save").click(function() {
|
||||||
save()
|
save()
|
||||||
$("#textarea").text(JSON.stringify(game))
|
$("#textarea").val(JSON.stringify(game))
|
||||||
})
|
})
|
||||||
$("#load").click(function() {
|
$("#load").click(function() {
|
||||||
game = JSON.parse($("#textarea").val())
|
game = JSON.parse($("#textarea").val())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue