Fixed issue with Faction page formatting. Script.reset() now re-updated RAM usage

This commit is contained in:
Daniel Xie 2017-06-03 23:56:18 -05:00
parent ce8257fb0c
commit 0d90479097
3 changed files with 6 additions and 4 deletions

@ -299,7 +299,8 @@ background-color: #555;
padding-left: 10px;
height: 100%;
margin-left: 10%;
width: 90%;
width: 99%;
overflow: auto;
overflow-y: auto;
}
@ -308,8 +309,6 @@ background-color: #555;
margin: 6px;
}
#faction-hack-div,
#faction-fieldwork-div,
#faction-securitywork-div,

@ -516,12 +516,13 @@
</div>
<p>
<br><br><br>
<br>
As your reputation with this faction rises, you will unlock Augmentations, which you
can purchase to enhance your abilities.
<br><br>
</p>
<a id="faction-purchase-augmentations" class="a-link-button">Purchase Augmentations</a>
<br><br><br><br>
</div>
<div id="faction-augmentations-container">

@ -150,6 +150,8 @@ Script.prototype.saveScript = function() {
}
Script.prototype.reset = function() {
this.updateRamUsage();
this.offlineRunningTime = 0.01; //Seconds
this.offlineMoneyMade = 0;
this.offlineExpGained = 0;