Skip to content

currentPage broken #69

@jamienk

Description

@jamienk

I've found that slider.currentPage will report "0" or a number higher than the total # of pages when flipping through using the next/previous arrows or the keyboard. This code fixed it for me:

var curpag=slider.currentPage;

if(curpag>slider.pages){
curpag=1;
}

if(curpag==0){
curpag=slider.pages;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions