make click work better on touch devices (closes foodcoops#104)

This commit is contained in:
wvengen 2014-01-25 15:19:50 +01:00
parent 23ee2ef0fb
commit 7ebb2459e0
7 changed files with 84 additions and 11 deletions

View file

@ -36,7 +36,7 @@
update_delta(this);
});
$(document).on('click', '#order_articles .unlocker', unlock_receive_input_field);
$(document).on('touchclick', '#order_articles .unlocker', unlock_receive_input_field);
$(function() {
$('input[data-units-expected]').each(function() {