Remove KeRemote Navigation Chaining

This commit is contained in:
M0RPH3US authored and GitHub committed 2025-03-24 14:34:12 +05:30
1 parent bea7da6e44
commit b9b9fd7199
1 file changed
+3 -3
+3 -3
View File
@@ -1,5 +1,5 @@
/*
* Jellyfin Slideshow by M0RPH3US v2.0.5
* Jellyfin Slideshow by M0RPH3US v2.0.6
*/
//Core Module Configuration
@@ -1423,7 +1423,7 @@ const SlideshowManager = {
switch (e.key) {
case 'ArrowRight':
if (focusElement.classList.contains('detail-button')) {
focusElement.previousElementSibling?.focus(); // Move to Play Button
focusElement.previousElementSibling.focus(); // Move to Play Button
} else {
SlideshowManager.nextSlide();
}
@@ -1432,7 +1432,7 @@ const SlideshowManager = {
case 'ArrowLeft':
if (focusElement.classList.contains('play-button')) {
focusElement.nextElementSibling?.focus(); // Move to Detail Button
focusElement.nextElementSibling.focus(); // Move to Detail Button
} else {
SlideshowManager.prevSlide();
}