From 2bff0d3190be4a2235965fa4a309dbf17ec31517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20V=C3=A9ril?= Date: Sat, 4 Jan 2020 12:53:01 +0100 Subject: [PATCH] Add strike when unsafe and is not checked --- content/multipledataset.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/content/multipledataset.html b/content/multipledataset.html index 296a4c6b..7ad47a6e 100644 --- a/content/multipledataset.html +++ b/content/multipledataset.html @@ -24,7 +24,7 @@ draft: false window.onload = async () => { const LatexInline = ['\\(', '\\)'] var al = $("#AllowList") - var ef = $("#exitationFilter") + var ef = $("#excitationFilter") for (const [name, value] of excitationTypes.All) { var description = null switch (Number(value)) { @@ -339,7 +339,12 @@ draft: false if (unsafe) { td.append($("
",{title:"unsafe value",style:"float: left"}).text('⚠')) } - td.append(val) + if (unsafe && !$("#cb_unsafe").is(':checked')){ + td.append($("").append(val)) + } + else{ + td.append(val) + } } tr.append(td) } @@ -407,9 +412,9 @@ draft: false
+
+
-
-