aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-11-15 22:23:50 +0100
committerThomas Citharel <tcit@tcit.fr>2016-11-15 22:23:50 +0100
commit10a1ffae5313b0f77287b92aca93bb0066d3b1e3 (patch)
tree3a1a8a9ae0c9650d5a51e0e968db79c110016750 /app/Resources
parentc930992348d81c70884791ee3edbec4a3cc1d128 (diff)
downloadwallabag-10a1ffae5313b0f77287b92aca93bb0066d3b1e3.tar.gz
wallabag-10a1ffae5313b0f77287b92aca93bb0066d3b1e3.tar.zst
wallabag-10a1ffae5313b0f77287b92aca93bb0066d3b1e3.zip
Fix keyboard navigation on quickstart view
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'app/Resources')
-rw-r--r--app/Resources/static/themes/material/js/shortcuts/main.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/Resources/static/themes/material/js/shortcuts/main.js b/app/Resources/static/themes/material/js/shortcuts/main.js
index ba396841..8514f71e 100644
--- a/app/Resources/static/themes/material/js/shortcuts/main.js
+++ b/app/Resources/static/themes/material/js/shortcuts/main.js
@@ -13,6 +13,11 @@ $(document).ready(() => {
13 let card = $('#content ul.data > li')[cardIndex]; 13 let card = $('#content ul.data > li')[cardIndex];
14 const pagination = $('.pagination'); 14 const pagination = $('.pagination');
15 15
16 /* Show nothing on quickstart */
17 if ($('#content > div.quickstart').length > 0) {
18 return;
19 }
20
16 /* If we come from next page */ 21 /* If we come from next page */
17 if (window.location.hash === '#prev') { 22 if (window.location.hash === '#prev') {
18 cardIndex = cardNumber - 1; 23 cardIndex = cardNumber - 1;