Bump version to 1.5.0.16 and update changelog for keyboard controls and sorting options
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 52s
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 52s
This commit is contained in:
@@ -2655,6 +2655,13 @@ const SlideshowManager = {
|
||||
return;
|
||||
}
|
||||
|
||||
const activeElement = document.activeElement;
|
||||
const isSlideshowFocused = container.contains(activeElement) || activeElement === container || activeElement === document.body;
|
||||
|
||||
if ((e.key === "ArrowRight" || e.key === "ArrowLeft") && !isSlideshowFocused) {
|
||||
return;
|
||||
}
|
||||
|
||||
switch (e.key) {
|
||||
case "ArrowRight":
|
||||
SlideshowManager.nextSlide();
|
||||
|
||||
Reference in New Issue
Block a user