aboutsummaryrefslogtreecommitdiffstats
path: root/js/craftmine.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/craftmine.js')
-rw-r--r--js/craftmine.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/craftmine.js b/js/craftmine.js
index 13dd0a2..8af8296 100644
--- a/js/craftmine.js
+++ b/js/craftmine.js
@@ -12,6 +12,8 @@ function sendRequest(url, params, callback) {
xhr.onreadystatechange = function() {
if(xhr.readyState == XMLHttpRequest.DONE && xhr.status == "200") {
var data = JSON.parse(xhr.responseText);
+ if(data.info)
+ showInfo(data.info);
if(data.error) {
showError(data.error);
return;