summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorjelle van der Waa <jelle@vdwaa.nl>2018-01-22 18:41:25 +0100
committerAngel Velásquez <angvp@archlinux.org>2018-01-22 12:41:25 -0500
commitc79dc7dcf4a13e381a59a63c57590f2272aa0869 (patch)
treec8aed1fd5a3762af7bfb91ffa42a84259d3d2225 /templates
parent1e65142aeab9e24b8968f3915ef930386f04fed3 (diff)
downloadarchweb-c79dc7dcf4a13e381a59a63c57590f2272aa0869.tar.gz
archweb-c79dc7dcf4a13e381a59a63c57590f2272aa0869.zip
Remove Konami code functionality (#77)
Remove the easteregg on the home page which shows a tux when a user enters the Konami code. Which reduces maintenance of a non-critical component.
Diffstat (limited to 'templates')
-rw-r--r--templates/public/index.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/public/index.html b/templates/public/index.html
index d3ca90e6..9242263e 100644
--- a/templates/public/index.html
+++ b/templates/public/index.html
@@ -203,12 +203,11 @@
{% endblock %}
{% block script_block %}
-<div id="konami" style="display:none;"></div>
{% load cdn %}{% jquery %}
<script type="text/javascript">
$(document).ready(function() {
- $.ajax({ url: "{% static "homepage.js" %}", cache: true, dataType: "script", success: function() { setupTypeahead(); setupKonami("{% static "vector_tux.png" %}"); } });
+ $.ajax({ url: "{% static "homepage.js" %}", cache: true, dataType: "script", success: function() { setupTypeahead(); } });
});
</script>
{% endblock %}