From 273acff847e4988dd10ddb971363a330380b583a Mon Sep 17 00:00:00 2001 From: Fabien Benetou Date: Fri, 3 Feb 2023 17:01:17 +0100 Subject: [PATCH] fixed with test --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 704e1a4..aed0e8e 100644 --- a/index.html +++ b/index.html @@ -2316,7 +2316,7 @@ consider pick then apply, i.e changeColorLastId() but for next Id */ -jxrhighlight(){ +function jxrhighlight(){ [...document.querySelectorAll("[value]")] .filter( el => (el.getAttribute("value").match(/^jxr /))) .map( el => el.setAttribute("troika-text", {colorRanges: {0: 0x0099ff, 3: 0xffffff}}) ) @@ -2383,6 +2383,7 @@ jxrhighlight(){ +