From cef785361f1f957af8020323ca709e89f1cab7b2 Mon Sep 17 00:00:00 2001 From: nessi Date: Sun, 16 Aug 2026 13:11:18 +0200 Subject: [PATCH] feat: add preferred audio/subtitle badge highlighting with localStorage persistence and mobile badge visibility controls Add DOMContentLoaded script to apply preferred-audio/preferred-subs classes from localStorage to badges in movies/sonarr/missing tables. Add applyPreferred() function with querySelectorAll iteration over tbody rows, forEach loop through column 4/5 badges, classList.remove/add for className assignment, and parentElement.prepend() to reorder preferred badge first. Add setInterval( --- templates/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index ba118a3..1b1baad 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,9 +1,11 @@ + + - +