From d532f1e5e52578a3be38e396eee197f597a621d7 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Thu, 30 May 2019 22:38:22 +0200 Subject: [PATCH] Properly disable export button if no route is drawn --- css/style.css | 6 ++++++ index.html | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/css/style.css b/css/style.css index fdcba2d..2bcc8ef 100644 --- a/css/style.css +++ b/css/style.css @@ -484,3 +484,9 @@ table.dataTable.display tbody tr.even:hover { padding-right: 2px; border: none; } + +.nav-link.disabled { + /* by default, even if disabled, modals are opened by disabled nav-link + so we ignore pointer events in this situation to avoid that*/ + pointer-events: none; +} diff --git a/index.html b/index.html index 43eaa26..f602e7c 100644 --- a/index.html +++ b/index.html @@ -87,7 +87,7 @@ -