fixed shooting aiming and url broken

This commit is contained in:
landgreen
2021-04-16 05:13:21 -07:00
parent a5aea4ccc5
commit 058b1f94f5
6 changed files with 19 additions and 21 deletions

View File

@@ -58,7 +58,7 @@ function getUrlVars() {
});
return vars;
}
window.addEventListener('load', (event) => {
window.addEventListener('load', () => {
const set = getUrlVars()
if (Object.keys(set).length !== 0) {
openExperimentMenu();
@@ -332,7 +332,8 @@ const build = {
techID.innerHTML = `<div class="grid-title"><div class="circle-grid junk"></div> &nbsp; ${tech.tech[i].name} ${isCount}</div>${tech.tech[i].description}</div>`
} else if (tech.tech[i].isExperimentalMode) {
// techID.innerHTML = `${tech.tech[i].description}</div>`
text += `<div id="tech-${i}" class="experiment-grid-module" onclick="build.choosePowerUp(this,${i},'tech')"><div class="grid-title">${tech.tech[i].name}</div> ${tech.tech[i].description}</div>`
techID.innerHTML = `<div class="grid-title">${tech.tech[i].name}</div>${tech.tech[i].description}</div>`
// text += `<div class="grid-title">${tech.tech[i].name}</div> ${tech.tech[i].description}</div>`
} else {
techID.innerHTML = `<div class="grid-title"><div class="circle-grid tech"></div> &nbsp; ${tech.tech[i].name} ${isCount}</div>${tech.tech[i].description}</div>`
}