summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authors1n <[email protected]>2019-11-19 13:23:43 -0800
committerGitHub <[email protected]>2019-11-19 13:23:43 -0800
commit120d83f02119ff041c5141ed014c6c6e27cea61d (patch)
tree2cb32455d37238d8de227b2bb0898f4d4bd16b98 /js
parentadd snow.js outline for index (diff)
downloads1n.pw-admin-120d83f02119ff041c5141ed014c6c6e27cea61d.tar.xz
s1n.pw-admin-120d83f02119ff041c5141ed014c6c6e27cea61d.zip
add cheats state
Diffstat (limited to 'js')
-rw-r--r--js/app.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/app.js b/js/app.js
index b088822..6aabb14 100644
--- a/js/app.js
+++ b/js/app.js
@@ -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) {