]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/Resources/static/themes/material/js/shortcuts/main.js
Fix keyboard navigation on quickstart view
[github/wallabag/wallabag.git] / app / Resources / static / themes / material / js / shortcuts / main.js
index ba396841696583652765d5391a4613ddc50e50c2..8514f71e2b64d089e9ca9171dcaf2e3dcdd17d88 100644 (file)
@@ -13,6 +13,11 @@ $(document).ready(() => {
   let card = $('#content ul.data > li')[cardIndex];
   const pagination = $('.pagination');
 
+  /* Show nothing on quickstart */
+  if ($('#content > div.quickstart').length > 0) {
+    return;
+  }
+
   /* If we come from next page */
   if (window.location.hash === '#prev') {
     cardIndex = cardNumber - 1;