diff --git a/modules/web.html b/modules/web.html
index e1a93f8..25d5719 100644
--- a/modules/web.html
+++ b/modules/web.html
@@ -511,6 +511,7 @@
Array.from(document.getElementById("playlist-ul").children).forEach(c => c.classList.remove("selected"));
Array.from(document.getElementById("dirs-box").children).forEach(c => c.classList.remove("selected"));
+ Array.from(document.getElementById("subdir-box").children).forEach(c => c.classList.remove("selected"));
selectedPlaylistIndex = null;
selectedSubFile = null;