From b4a31cbc4657690c802f1841cc12fcae28211752 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 18 Aug 2022 18:22:13 +0200 Subject: travelynx-action: only show checkin error if it is not already being shown --- public/static/js/travelynx-actions.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/public/static/js/travelynx-actions.js b/public/static/js/travelynx-actions.js index a1fa685..ea17431 100644 --- a/public/static/js/travelynx-actions.js +++ b/public/static/js/travelynx-actions.js @@ -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() { -- cgit v1.2.3