mirror of
https://github.com/Tooloop/Tooloop-Packages.git
synced 2026-04-27 20:41:37 +02:00
[onboarding] slide texts, videos, thumbnail
This commit is contained in:
@@ -79,7 +79,8 @@ class Slider {
|
||||
|
||||
// keyboard shortcuts
|
||||
document.addEventListener("keydown", (e) => {
|
||||
e.preventDefault();
|
||||
if (e.code === "ArrowLeft" || e.code === "ArrowRight")
|
||||
e.preventDefault();
|
||||
});
|
||||
document.addEventListener("keyup", (e) => {
|
||||
if (e.code === "ArrowLeft") this.previous();
|
||||
|
||||
Reference in New Issue
Block a user