From 5c0d8af5d8fa38e3fccce8246d2048b19bebca3d Mon Sep 17 00:00:00 2001 From: CodeDevMLH <145071728+CodeDevMLH@users.noreply.github.com> Date: Tue, 24 Feb 2026 19:20:02 +0100 Subject: [PATCH] Refactor fireworks.js: clean up observer options for improved readability --- Jellyfin.Plugin.Seasonals/Web/fireworks.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jellyfin.Plugin.Seasonals/Web/fireworks.js b/Jellyfin.Plugin.Seasonals/Web/fireworks.js index 2be9ac6..290ab81 100644 --- a/Jellyfin.Plugin.Seasonals/Web/fireworks.js +++ b/Jellyfin.Plugin.Seasonals/Web/fireworks.js @@ -60,9 +60,9 @@ const observer = new MutationObserver(toggleFirework); // start observation observer.observe(document.body, { - childList: true, // observe adding/removing of child elements - subtree: true, // observe all levels of the DOM tree - attributes: true // observe changes to attributes (e.g. class changes) + childList: true, + subtree: true, + attributes: true });