From 27e69fd3b87997bf826e59446b0504227d5282b4 Mon Sep 17 00:00:00 2001 From: Skia Date: Wed, 18 Jan 2017 19:09:41 +0100 Subject: [PATCH] Bad hack to fix Firefox broken autofocus --- counter/templates/counter/counter_click.jinja | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/counter/templates/counter/counter_click.jinja b/counter/templates/counter/counter_click.jinja index 0026bf1c..aee9c309 100644 --- a/counter/templates/counter/counter_click.jinja +++ b/counter/templates/counter/counter_click.jinja @@ -51,7 +51,7 @@
{% csrf_token %} - +

{% trans %}Basket: {% endtrans %}

@@ -179,6 +179,7 @@ $( function() { } }); $("#products").tabs(); + $("#code_field").focus(); }); {% endblock %}