Skip to content

Commit

Permalink
webui: lint eqeqeq
Browse files Browse the repository at this point in the history
  • Loading branch information
mcspr committed Dec 7, 2024
1 parent 8a37e2f commit fa5af86
Show file tree
Hide file tree
Showing 11 changed files with 12,727 additions and 12,729 deletions.
3,922 changes: 1,961 additions & 1,961 deletions code/espurna/static/index.all.html.gz.h

Large diffs are not rendered by default.

2,008 changes: 1,004 additions & 1,004 deletions code/espurna/static/index.curtain.html.gz.h

Large diffs are not rendered by default.

1,945 changes: 972 additions & 973 deletions code/espurna/static/index.garland.html.gz.h

Large diffs are not rendered by default.

4,314 changes: 2,157 additions & 2,157 deletions code/espurna/static/index.light.html.gz.h

Large diffs are not rendered by default.

1,950 changes: 975 additions & 975 deletions code/espurna/static/index.lightfox.html.gz.h

Large diffs are not rendered by default.

2,021 changes: 1,010 additions & 1,011 deletions code/espurna/static/index.rfbridge.html.gz.h

Large diffs are not rendered by default.

2,018 changes: 1,009 additions & 1,009 deletions code/espurna/static/index.rfm69.html.gz.h

Large diffs are not rendered by default.

3,374 changes: 1,687 additions & 1,687 deletions code/espurna/static/index.sensor.html.gz.h

Large diffs are not rendered by default.

1,918 changes: 959 additions & 959 deletions code/espurna/static/index.small.html.gz.h

Large diffs are not rendered by default.

1,984 changes: 992 additions & 992 deletions code/espurna/static/index.thermostat.html.gz.h

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion code/html/src/validate.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function reportValidityForInputOrSelect(elem, message = "") {
findPanel(elem, (panel) => {
showPanel(panel);

if (message.length != 0) {
if (message.length !== 0) {
elem.setCustomValidity(message);
elem.dataset[CUSTOM_VALIDITY] = message;
}
Expand Down

0 comments on commit fa5af86

Please sign in to comment.