Skip to content

fixed problem with user options when show method is called#257

Open
ReaGet wants to merge 1 commit intofeimosi:devfrom
ReaGet:dev
Open

fixed problem with user options when show method is called#257
ReaGet wants to merge 1 commit intofeimosi:devfrom
ReaGet:dev

Conversation

@ReaGet
Copy link
Copy Markdown

@ReaGet ReaGet commented Nov 18, 2022

No description provided.

Comment thread src/baguetteBox.js
Comment on lines 387 to +390
options[item] = defaults[item];
if (!options[item]) {
options[item] = defaults[item];
}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

I know this is an old PR, but can you explain what it's fixing? Maybe I'm missing something, but I don't see how this code changes anything by assigning the same value twice

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.

2 participants