From 5b0b720a45df8abf35b75240b229c6c99f6df6db Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Thu, 18 Aug 2022 20:48:38 +0100 Subject: [PATCH] Hide DAB html until selected. --- templates/article.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/templates/article.html b/templates/article.html index 7c9afbf..d894d60 100644 --- a/templates/article.html +++ b/templates/article.html @@ -70,7 +70,7 @@ a.new { color: red; } cancel selection -
{{ dab.html | safe }}
+
{{ dab.html | safe }}
{% endfor %} @@ -90,6 +90,14 @@ a.new { color: red; } function jump_to(dab_num) { var highlight_title = "text-bg-primary"; + var dab_articles = document.getElementsByClassName("dab-article"); + for(var i=0; i