Fix auto submission on mobile
This commit is contained in:
parent
436f097038
commit
2e4801663c
|
@ -222,6 +222,7 @@
|
||||||
if ( $( this ).hasClass('highlighted') ) {
|
if ( $( this ).hasClass('highlighted') ) {
|
||||||
$( this ).toggleClass('selected');
|
$( this ).toggleClass('selected');
|
||||||
$('.info').addClass('hidden');
|
$('.info').addClass('hidden');
|
||||||
|
$('.submit').click();
|
||||||
} else {
|
} else {
|
||||||
$('.highlighted').removeClass('highlighted');
|
$('.highlighted').removeClass('highlighted');
|
||||||
$( this ).addClass('highlighted');
|
$( this ).addClass('highlighted');
|
||||||
|
@ -229,8 +230,8 @@
|
||||||
} else {
|
} else {
|
||||||
$( this ).toggleClass('selected');
|
$( this ).toggleClass('selected');
|
||||||
$('.info').addClass('hidden');
|
$('.info').addClass('hidden');
|
||||||
}
|
|
||||||
$('.submit').click();
|
$('.submit').click();
|
||||||
|
}
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
});
|
});
|
||||||
/* Put new event into DOM tree. Track defaults to 'Other' */
|
/* Put new event into DOM tree. Track defaults to 'Other' */
|
||||||
|
|
Loading…
Reference in New Issue