Merge pull request #320 from hydroflame/move-tor-html

[SMALL] moved all tor-html related code to one place, hurray for decoupling
This commit is contained in:
danielyxie
2018-06-25 19:40:59 -05:00
committed by GitHub
3 changed files with 6 additions and 10 deletions
-7
View File
@@ -1736,13 +1736,6 @@ let Engine = {
Player.sourceFiles[sfIndex].lvl=sfLvl;
}
});
//If DarkWeb already purchased, disable the button
if (SpecialServerIps.hasOwnProperty("Darkweb Server")) {
const purchaseTor = document.getElementById("location-purchase-tor");
purchaseTor.setAttribute("class", "a-link-button-bought");
purchaseTor.innerHTML = "TOR Router - Purchased";
}
},
/* Initialization */