remove wiki button from hacking mission, fix jsx class not being className

This commit is contained in:
Olivier Gagnon 2021-03-19 22:54:10 -04:00
parent dc79f7a940
commit e0745d7757
2 changed files with 2 additions and 12 deletions

@ -305,15 +305,6 @@ HackingMission.prototype.createPageDom = function() {
return false; return false;
}); });
var wikiGuideBtn = document.createElement("a");
wikiGuideBtn.innerText = "Wiki Guide";
wikiGuideBtn.classList.add("a-link-button");
wikiGuideBtn.style.display = "inline-block";
wikiGuideBtn.classList.add("hack-mission-header-element");
wikiGuideBtn.target = "_blank";
// TODO Add link to wiki page wikiGuideBtn.href =
// Start button will get replaced with forfeit when game is started // Start button will get replaced with forfeit when game is started
var startBtn = document.createElement("a"); var startBtn = document.createElement("a");
startBtn.innerHTML = "Start"; startBtn.innerHTML = "Start";
@ -490,7 +481,6 @@ HackingMission.prototype.createPageDom = function() {
container.appendChild(headerText); container.appendChild(headerText);
container.appendChild(inGameGuideBtn); container.appendChild(inGameGuideBtn);
container.appendChild(wikiGuideBtn);
container.appendChild(startBtn); container.appendChild(startBtn);
container.appendChild(forfeitMission); container.appendChild(forfeitMission);
container.appendChild(timer); container.appendChild(timer);

@ -1151,8 +1151,8 @@ const Engine = {
const timeOfflineString = convertTimeMsToTimeElapsedString(time); const timeOfflineString = convertTimeMsToTimeElapsedString(time);
dialogBoxCreate(<> dialogBoxCreate(<>
Offline for {timeOfflineString}. While you were offline, your scripts generated Offline for {timeOfflineString}. While you were offline, your scripts generated
<span class='money-gold'> {numeralWrapper.formatMoney(offlineProductionFromScripts)} </span> <span className='money-gold'> {numeralWrapper.formatMoney(offlineProductionFromScripts)} </span>
and your Hacknet Nodes generated <span class='money-gold'>{hacknetProdInfo}</span>. and your Hacknet Nodes generated <span className='money-gold'>{hacknetProdInfo}</span>.
</>); </>);
// Close main menu accordions for loaded game // Close main menu accordions for loaded game
var visibleMenuTabs = [terminal, createScript, activeScripts, stats, var visibleMenuTabs = [terminal, createScript, activeScripts, stats,