Fix keyboard navigation on quickstart view

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2016-11-15 22:23:50 +01:00
parent c930992348
commit 10a1ffae53
No known key found for this signature in database
GPG key ID: 5780691F5FE48FB5
5 changed files with 25 additions and 278 deletions

View 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;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long