diff options
| author | s1n <[email protected]> | 2019-11-19 13:23:43 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-11-19 13:23:43 -0800 |
| commit | 120d83f02119ff041c5141ed014c6c6e27cea61d (patch) | |
| tree | 2cb32455d37238d8de227b2bb0898f4d4bd16b98 | |
| parent | add snow.js outline for index (diff) | |
| download | s1n.pw-admin-120d83f02119ff041c5141ed014c6c6e27cea61d.tar.xz s1n.pw-admin-120d83f02119ff041c5141ed014c6c6e27cea61d.zip | |
add cheats state
| -rw-r--r-- | js/app.js | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -115,6 +115,8 @@ function changeFavicon(src) { document.head.appendChild(link);
}
+var CheatsState;
+
function activateCheats() {
swapStyleSheet('/konami/css/main.css');
@@ -150,7 +152,10 @@ function activateCheats() { if (pos > msg.length) pos = 0;
window.setTimeout("Scroll()", speed);
}
+
Scroll();
+
+ CheatsState = true;
}
function deactivateCheats() {
@@ -175,6 +180,8 @@ function deactivateCheats() { `;
document.title = "s1nical - Landing Page";
+
+ CheatsState = false;
}
var TxtRotate = function (el, toRotate, period) {
|