mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 21:53:50 +01:00
the killall link appears if the game takes too long to load
This commit is contained in:
parent
fabc45f496
commit
d364de78a7
@ -146,3 +146,23 @@ button[type="button"] {
|
||||
.loaderoverlay .loaderlabel {
|
||||
color: #6f3;
|
||||
}
|
||||
|
||||
|
||||
.killAllMessage {
|
||||
position: absolute;
|
||||
top: 95%;
|
||||
left: 50%;
|
||||
-webkit-transform: translateX(-50%);
|
||||
-moz-transform: translateX(-50%);
|
||||
-ms-transform: translateX(-50%);
|
||||
-o-transform: translateX(-50%);
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.killAllMessageWrapperHidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.killAllMessageWrapperShow {
|
||||
display: block;
|
||||
}
|
@ -958,6 +958,14 @@
|
||||
<div id="loader" class="loaderoverlay">
|
||||
<div class="loaderspinner"></div>
|
||||
<div class="loaderlabel">Loading Bitburner...</div>
|
||||
<div id="killAllMessageWrapper" class="killAllMessage killAllMessageWrapperHidden">
|
||||
<script>setTimeout(function(){
|
||||
var w = document.getElementById('killAllMessageWrapper');
|
||||
w.classList.remove("killAllMessageWrapperHidden");
|
||||
w.classList.add("killAllMessageWrapperShow");
|
||||
}, 2000);</script>
|
||||
<p>If the game fails to load, consider <a href="?noScripts">killing all scripts</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<script src="dist/vendor.bundle.js"></script>
|
||||
<script src="dist/engine.bundle.js"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user