Remove pets, add Fix Storage button

This commit is contained in:
Codrin Pavel
2019-11-26 16:43:59 +02:00
parent b3df7fa7b9
commit ed01ccfc1c
7 changed files with 19 additions and 71 deletions

View File

@@ -11,6 +11,9 @@
<br />
<input type="submit" value="Submit" class="button" />
<input type="reset" value="Reset" class="button" />
<a href="#" class="button button--danger"
onClick="(function(){var newStorage=JSON.parse(localStorage.getItem('HeroWarsHistory'));newStorage.shift();localStorage.setItem('HeroWarsHistory',JSON.stringify(newStorage));})();">
Storage Fix</a>
</form>
</header>