From a071db561dd50b797627514dfce81538c150b00d Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Tue, 14 Nov 2023 22:14:59 +0100 Subject: [PATCH] =?UTF-8?q?Show=20"generating=E2=80=A6"=20message=20until?= =?UTF-8?q?=20map=20is=20loaded?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/map.js | 2 ++ views/index.tpl | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/static/map.js b/static/map.js index 41b518b..ae966f3 100644 --- a/static/map.js +++ b/static/map.js @@ -2,6 +2,8 @@ function update_map(event) { event.preventDefault(); + document.getElementById("svgcontainer").innerHTML = '

Generating, please wait…

'; + var lat = document.getElementById('lat').value; var lon = document.getElementById('lon').value; diff --git a/views/index.tpl b/views/index.tpl index 73227d0..99c047d 100644 --- a/views/index.tpl +++ b/views/index.tpl @@ -4,7 +4,6 @@ - QSOMap: Azimuthal-equidistant SVG map generator