diff --git a/html/index.html b/html/index.html
index 66bced9..e1b39f3 100644
--- a/html/index.html
+++ b/html/index.html
@@ -45,10 +45,11 @@
System
diff --git a/lib/interface.coffee b/lib/interface.coffee
index 60b85b5..2c8a1be 100644
--- a/lib/interface.coffee
+++ b/lib/interface.coffee
@@ -10,4 +10,8 @@ $(document).ready(() ->
$("#inventory").on("click", "a", (event) ->
event.preventDefault()
)
+ $("#load").on("click", "a", (event) ->
+ event.preventDefault()
+ window.location.reload()
+ )
)
diff --git a/lib/undum.js b/lib/undum.js
index c92b36f..864369b 100644
--- a/lib/undum.js
+++ b/lib/undum.js
@@ -1395,6 +1395,7 @@ var processLink = function(code) {
// We're able to save, if we weren't already.
$("#save").attr('disabled', false);
+ $("#save").removeClass('disabled');
};
/* This gets called to actually do the work of processing a code.
@@ -1620,7 +1621,10 @@ var saveGame = function() {
// Switch the button highlights.
$("#erase").attr('disabled', false);
+ $("#erase").removeClass('disabled');
+ $("#load").removeClass('disabled');
$("#save").attr('disabled', true);
+ $("#save").addClass('disabled');
};
/* Loads the game from the given data */
@@ -1632,6 +1636,7 @@ var loadGame = function(characterData) {
// Empty the display
$("#content").empty();
+ $("#intro").empty();
showQualities();
// Now play through the actions so far:
@@ -1671,6 +1676,7 @@ var begin = function () {
var save = $("#save").click(saveGame);
var storedCharacter = localStorage[getSaveId()];
+ console.log(storedCharacter)
if (storedCharacter) {
try {
loadGame(JSON.parse(storedCharacter));