Small UI changes

This commit is contained in:
Daniel Xie
2017-05-21 00:39:18 -05:00
parent 9e2344919f
commit b2b1724885
5 changed files with 19 additions and 12 deletions
+4 -2
View File
@@ -607,6 +607,7 @@ displayFactionContent = function(factionName) {
faction.playerReputation += repGain;
dialogBoxCreate("You just donated $" + formatNumber(numMoneyDonate, 2) + " to " +
faction.name + " to gain " + formatNumber(repGain, 3) + " reputation");
displayFactionContent(factionName);
} else {
dialogBoxCreate("Invalid amount entered!");
}
@@ -822,12 +823,13 @@ displayFactionAugmentations = function(factionName) {
pElem.innerHTML = "LOCKED (Requires " + formatNumber(req, 4) + " faction reputation)";
pElem.style.color = "red";
}
aElem.style.display = "inline-block";
pElem.style.display = "inline-block";
aElem.style.display = "inline";
pElem.style.display = "inline";
aElem.innerHTML = aug.name;
if (aug.name == AugmentationNames.NeuroFluxGovernor) {
aElem.innerHTML += " - Level " + (aug.level + 1);
}
span.style.display = "inline-block"
aElem.innerHTML += '<span class="tooltiptext">' + aug.info + " </span>";