From 40cc30e05469269c2f25ca67135a8f1148b1f588 Mon Sep 17 00:00:00 2001 From: Woody Date: Thu, 9 Nov 2023 18:18:55 +0100 Subject: [PATCH] Remove unnecessary comment in simple.js --- wled00/data/simple.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/wled00/data/simple.js b/wled00/data/simple.js index 16c0115d0..fd3739ff6 100644 --- a/wled00/data/simple.js +++ b/wled00/data/simple.js @@ -51,7 +51,6 @@ fetch(getURL("/index.htm")) script.parentNode.replaceChild(newScript, script); }); finalizeSimpleUI(); - }) .catch(error => console.error('Error:', error)); @@ -94,19 +93,6 @@ function simplifyUI(doc) { // Hide filter options gId("filters").style.display = "none"; - - /* var observer = new MutationObserver(function (mutations) { - mutations.forEach(function (mutation) { - if (mutation.attributeName === "class") { - let element = mutation.target; - if (element.matches("#pallist .lstI.selected")) { - element.style.top = "0px"; - } - } - }); - }); - var config = { attributes: true, childList: true, subtree: true }; - observer.observe(doc.body, config); */ } // Called when simple UI is ready