Reformatted DialogBox and PurchaseServerBox. Implemented purchase server, untested (will test when I do a playthrough so i get enough moeny)

This commit is contained in:
Daniel Xie
2017-02-05 19:29:17 -06:00
parent fc2dc82f1a
commit d20da28c51
4 changed files with 110 additions and 36 deletions
+2
View File
@@ -35,7 +35,9 @@ purchaseServerBoxCreate = function(ram, cost) {
var confirmButton = document.getElementById("purchase-server-box-confirm");
confirmButton.addEventListener("click", function() {
purchaseServerBoxClose();
purchaseServer(ram, cost);
return false;
});
purchaseServerBoxOpen();