Fix auto submission on mobile

This commit is contained in:
Petko Bordjukov 2017-09-28 16:59:39 +03:00
parent 436f097038
commit 2e4801663c
1 changed files with 2 additions and 1 deletions

View File

@ -222,6 +222,7 @@
if ( $( this ).hasClass('highlighted') ) {
$( this ).toggleClass('selected');
$('.info').addClass('hidden');
$('.submit').click();
} else {
$('.highlighted').removeClass('highlighted');
$( this ).addClass('highlighted');
@ -229,8 +230,8 @@
} else {
$( this ).toggleClass('selected');
$('.info').addClass('hidden');
}
$('.submit').click();
}
event.stopPropagation();
});
/* Put new event into DOM tree. Track defaults to 'Other' */