Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Options not works #75

Open
applibs opened this issue May 26, 2015 · 1 comment
Open

Initial Options not works #75

applibs opened this issue May 26, 2015 · 1 comment

Comments

@applibs
Copy link

applibs commented May 26, 2015

I tried demo 1 and see that Initial Options not works. Event onSelected not works. Default width 260px is there and not 300.
Function: return this.each(function () ...
dont remember option variable on line: var options = $.extend({}, defaults, options);.

@applibs
Copy link
Author

applibs commented May 26, 2015

I found solution myself. Please update your code.
Replace all: var options = $.extend({}, defaults, options);
To: var settings = $.extend({}, defaults, options);

Replace all: options.
To: settings.

Then everything works well.

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

No branches or pull requests

1 participant