You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.
When a single image is used in the slider. It will attempt to fade from and to itself and will then suddenly disapper after fade, I made a simple fix that will simply not play if there is only one image.
Line 68, change:
this.play();
into :
if ( this.element.select('a').length > 1 )
this.play();
This will prevent the play function from running if there is only one element.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When a single image is used in the slider. It will attempt to fade from and to itself and will then suddenly disapper after fade, I made a simple fix that will simply not play if there is only one image.
Line 68, change:
this.play();
into :
if ( this.element.select('a').length > 1 )
this.play();
This will prevent the play function from running if there is only one element.
The text was updated successfully, but these errors were encountered: