minor fix
This commit is contained in:
parent
b6c8cca76a
commit
e0c7229c89
@ -132,7 +132,7 @@ function makeTable(fields, data, attrs_func) {
|
|||||||
table.appendChild(Tag('tr', attrs, null, (() => {
|
table.appendChild(Tag('tr', attrs, null, (() => {
|
||||||
let ret = [];
|
let ret = [];
|
||||||
for (const f of fields) {
|
for (const f of fields) {
|
||||||
let value = d[f.field];
|
const value = d[f.field];
|
||||||
if (value === undefined) {
|
if (value === undefined) {
|
||||||
ret.push(Tag('td'));
|
ret.push(Tag('td'));
|
||||||
continue;
|
continue;
|
||||||
@ -334,7 +334,7 @@ window.onload = () => {
|
|||||||
Tag("div", null, null, [
|
Tag("div", null, null, [
|
||||||
Tag("b", null, null, [
|
Tag("b", null, null, [
|
||||||
Tag("span", {"class": "emoji"}, "🤼"),
|
Tag("span", {"class": "emoji"}, "🤼"),
|
||||||
Text(" Image compare mode")
|
Text(" Image compare mode")
|
||||||
]),
|
]),
|
||||||
Tag("label", null, null, [
|
Tag("label", null, null, [
|
||||||
Tag("input", {"type": "radio", "name": "compare_mode", "value": "switch", "checked": "checked"}),
|
Tag("input", {"type": "radio", "name": "compare_mode", "value": "switch", "checked": "checked"}),
|
||||||
|
Loading…
Reference in New Issue
Block a user