Skip to content
This repository was archived by the owner on Dec 1, 2020. It is now read-only.

[*] MO : improvement on homeslider module with one slide#19

Open
SebBareyre wants to merge 2 commits intoPrestaShop:masterfrom
SebBareyre:patch-1
Open

[*] MO : improvement on homeslider module with one slide#19
SebBareyre wants to merge 2 commits intoPrestaShop:masterfrom
SebBareyre:patch-1

Conversation

@SebBareyre
Copy link
Copy Markdown

Disable controls and auto loop when there is only one slide on homeslider module

Disable controls and auto loop when there is only one slide on homeslider module
@SebBareyre
Copy link
Copy Markdown
Author

Disable controls and auto loop when there is only one slide on homeslider module

js/homeslider.js Outdated
speed: parseInt(homeslider_speed),
pause: homeslider_pause,
controls: true
controls: slideCount>1?true:false)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants