aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-09-21 06:23:41 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-09-21 06:23:59 +0200
commit5a7f2d16dfed15dc8bfefc507abe3866f205af98 (patch)
treed8276c2ab8ac7e280b0a9fcbd8ff8e1554c5843e
parentb8061b665dacefc1a4ced296c0566a9ec0218f03 (diff)
downloadxK-5a7f2d16dfed15dc8bfefc507abe3866f205af98.tar.gz
xK-5a7f2d16dfed15dc8bfefc507abe3866f205af98.tar.xz
xK-5a7f2d16dfed15dc8bfefc507abe3866f205af98.zip
xP: clean up DOM attributes
-rw-r--r--xP/public/xP.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/xP/public/xP.js b/xP/public/xP.js
index 144647e..cbc37d7 100644
--- a/xP/public/xP.js
+++ b/xP/public/xP.js
@@ -478,7 +478,7 @@ let Content = {
style.color = palette[fg]
if (bg >= 0)
style.backgroundColor = palette[bg]
- if (style)
+ for (const _ in style)
return style
},