Bump version to 1.5.0.24 and update changelog for recent changes
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 52s

This commit is contained in:
CodeDevMLH
2026-02-10 00:52:29 +01:00
parent 60293e81e1
commit a935fd7d5d
3 changed files with 4 additions and 3 deletions

View File

@@ -2705,7 +2705,8 @@ const SlideshowManager = {
}
const activeElement = document.activeElement;
const isTvMode = window.layoutManager && window.layoutManager.tv;
// Check if we're in TV mode (checking class on html or body is more reliable)
const isTvMode = document.documentElement.classList.contains('layout-tv') || document.body.classList.contains('layout-tv') || (window.layoutManager && window.layoutManager.tv);
const isSlideshowFocused = container.contains(activeElement) || activeElement === container || (!isTvMode && activeElement === document.body);
const isInputElement = activeElement && (activeElement.tagName === 'INPUT' || activeElement.tagName === 'TEXTAREA' || activeElement.isContentEditable);