Skip to content

Commit

Permalink
Merge pull request #3 from ivoa/hotfix/missing_page
Browse files Browse the repository at this point in the history
fix: only show 2 pages in the carrousel
  • Loading branch information
JeremyMcCormick authored Feb 26, 2024
2 parents 6a4c78e + ee094ee commit 7cc5ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function mod(n, m) {
(function () {

let carrousel = 0;
const CARROUSEL_LENGTH = 3;
const CARROUSEL_LENGTH = 2;

function handleLeft() {
carrousel = mod(carrousel - 1, CARROUSEL_LENGTH);
Expand Down

0 comments on commit 7cc5ce1

Please sign in to comment.