diff options
author | Dan McGee <dan@archlinux.org> | 2013-02-09 20:19:20 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-02-09 20:19:20 +0100 |
commit | bec4e798cb2a4c585e01884f06a3c741f1f55b7d (patch) | |
tree | 48b3e09472e28e78c43a3a5ce428568e1202022c /templates/public/index.html | |
parent | ca4106a7c0f797ba06e15f777c94cddd5d82a3dc (diff) | |
download | archweb-bec4e798cb2a4c585e01884f06a3c741f1f55b7d.tar.gz archweb-bec4e798cb2a4c585e01884f06a3c741f1f55b7d.tar.xz |
Update Konami JS
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/public/index.html')
-rw-r--r-- | templates/public/index.html | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/templates/public/index.html b/templates/public/index.html index 8926a06..89aa3b8 100644 --- a/templates/public/index.html +++ b/templates/public/index.html @@ -213,7 +213,7 @@ {% load cdn %}{% jquery %} <script type="text/javascript" src="{% static "bootstrap-typeahead.min.js" %}"></script> -<script type="text/javascript" src="{% static "konami.pack.js" %}"></script> +<script type="text/javascript" src="{% static "konami.min.js" %}"></script> <script type="text/javascript"> $(document).ready(function() { $('#pkgsearch-field').typeahead({ @@ -229,8 +229,7 @@ $(document).ready(function() { }).attr('autocomplete', 'off'); }); $(document).ready(function() { - var konami = new Konami(); - konami.code = function() { + var konami = new Konami(function() { $('#konami').html('<img src="{% static "vector_tux.png" %}" alt=""/>'); setTimeout(function() { $('#konami').fadeIn(500); @@ -238,9 +237,7 @@ $(document).ready(function() { $('#konami').click(function() { $('#konami').fadeOut(500); }); - }; - konami.iphone.code = konami.code; - konami.load(); + }); }); </script> {% endblock %} |