summaryrefslogtreecommitdiff
path: root/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/app.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) {