mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +01:00
Add strike when unsafe and is not checked
This commit is contained in:
parent
2434659c95
commit
2bff0d3190
@ -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,8 +339,13 @@ draft: false
|
||||
if (unsafe) {
|
||||
td.append($("<div/>",{title:"unsafe value",style:"float: left"}).text('⚠'))
|
||||
}
|
||||
if (unsafe && !$("#cb_unsafe").is(':checked')){
|
||||
td.append($("<s/>").append(val))
|
||||
}
|
||||
else{
|
||||
td.append(val)
|
||||
}
|
||||
}
|
||||
tr.append(td)
|
||||
}
|
||||
tbody.append(tr)
|
||||
@ -407,9 +412,9 @@ draft: false
|
||||
<select multiple id="DOI_select" name="DOI"></select>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset id="excitationFilter">
|
||||
</fieldset>
|
||||
<input type="submit" disabled=true value="Load"></input>
|
||||
<div id="exitationFilter">
|
||||
</div>
|
||||
</form>
|
||||
<form id="form_ref">
|
||||
<label for="sel_ref">Reference</label>
|
||||
|
Loading…
Reference in New Issue
Block a user