Skip to content

currentPage broken #69

Closed
Closed

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

Activity

  1. Mottie commented on Mar 25, 2011

    @Mottie
    Contributor

    Hi Jamienk!

    Thanks for finding this bug... I'm really busy atm, so I won't be able to fix this bug until the middle of next week.

  2. Mottie commented on Apr 2, 2011

    @Mottie
    Contributor

    Fixed in version 1.5.8. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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