Skip to content

Fix an issue in the code for randomization which can prevent the firs… - #1

Open
waymao wants to merge 1 commit into
haozki:masterfrom
waymao:master
Open

waymao wants to merge 1 commit into
haozki:masterfrom
waymao:master

Conversation

@waymao

@waymao waymao commented Dec 16, 2017

Copy link
Copy Markdown

Fix an issue in the code for randomization which can prevent the first image to be changed.

Detailed info: the index of the photo in the "gallery" begins with 0, and goes all the way through (number - 1). Changed the randomization function so that the first image can be selected and randomly changed.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant