Skip to content

Comments

-id fix and init fix#35

Open
letreset wants to merge 1 commit intoposabsolute:masterfrom
letreset:master
Open

-id fix and init fix#35
letreset wants to merge 1 commit intoposabsolute:masterfrom
letreset:master

Conversation

@letreset
Copy link

@letreset letreset commented Jul 5, 2017

No description provided.

pluginOptions.id = (pluginOptions.id) ? pluginOptions.id : $(el).attr('id');
if (pluginOptions.id == 'undefined')
pluginOptions.id = '';
if (pluginOptions.id === 'undefined')

Choose a reason for hiding this comment

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

Shouldn't it rather be : if (typeof pluginOptions.id === 'undefined')

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