mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-04 06:37:49 +02:00
update prettier
This commit is contained in:
@@ -16,15 +16,15 @@ export function createStatusText(text: string): void {
|
||||
statusElement.style.display = "none";
|
||||
statusElement.classList.remove("status-text");
|
||||
};
|
||||
|
||||
|
||||
if (x !== undefined) {
|
||||
clearTimeout(x);
|
||||
// Likely not needed due to clearTimeout, but just in case...
|
||||
x = undefined;
|
||||
// reset the element's animation
|
||||
statusElement.style.animation = 'none';
|
||||
setTimeout(function() {
|
||||
statusElement.style.animation = '';
|
||||
statusElement.style.animation = "none";
|
||||
setTimeout(function () {
|
||||
statusElement.style.animation = "";
|
||||
}, 10);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user