From fc21a1b12b164b4702158b95bd9643beae2afb7f Mon Sep 17 00:00:00 2001 From: adrien Date: Fri, 8 Dec 2023 02:13:33 +0100 Subject: [PATCH] change stylesheet for chrome & firefox --- index.html | 4 ++-- js/app.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 03374a9..99680be 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@ - + @@ -60,7 +60,7 @@
Interface -
diff --git a/js/app.js b/js/app.js index 67af0e6..20fc8d0 100644 --- a/js/app.js +++ b/js/app.js @@ -9,6 +9,7 @@ let lastActionSucceded = true let favicon window.onload = function(event) { + document.selectedStyleSheetSet = selectedStyleSheet.title selectedStyleSheet.href = stylesheetSelect.value favicon = document.querySelector("link[rel~='icon']")