summaryrefslogtreecommitdiff
path: root/templates/public
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-02-09 13:19:20 -0600
committerDan McGee <dan@archlinux.org>2013-02-09 13:19:20 -0600
commitbec4e798cb2a4c585e01884f06a3c741f1f55b7d (patch)
tree48b3e09472e28e78c43a3a5ce428568e1202022c /templates/public
parentca4106a7c0f797ba06e15f777c94cddd5d82a3dc (diff)
Update Konami JS
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/public')
-rw-r--r--templates/public/index.html9
1 files changed, 3 insertions, 6 deletions
diff --git a/templates/public/index.html b/templates/public/index.html
index 8926a061..89aa3b8a 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 %}