From 5a7f2d16dfed15dc8bfefc507abe3866f205af98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Wed, 21 Sep 2022 06:23:41 +0200 Subject: [PATCH] xP: clean up DOM attributes --- xP/public/xP.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 },