travelynx-action: only show checkin error if it is not already being shown

This commit is contained in:
Daniel Friesel 2022-08-18 18:22:13 +02:00
parent e0d2c42a39
commit b4a31cbc46

View file

@ -169,8 +169,10 @@ function tvly_reg_handlers() {
force: link.data('force'),
};
tvly_run(link, req, function() {
link.append(' Ohne Echtzeitdaten auschecken?')
link.data('force', true);
if (!link.data('force')) {
link.append(' Ohne Echtzeitdaten auschecken?')
link.data('force', true);
}
});
});
$('.action-undo').click(function() {