Skip to content

Current slide's CSS class doesn't stick -- found a fix #35

@vossavant

Description

@vossavant

I came across a bug whereby the current slide does not keep the "current" class, and applied a fix to the code.

On line 203 you'll find this:

var panels = base.$panels.eq(num-1);

It should be changed to this:

var panels = base.$panels.eq(num-1).addClass(base.options.currentPanel);

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