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

remove_widget el must be a jquery object to work #16

Closed
ishields opened this issue Dec 1, 2014 · 1 comment
Closed

remove_widget el must be a jquery object to work #16

ishields opened this issue Dec 1, 2014 · 1 comment
Milestone

Comments

@ishields
Copy link

ishields commented Dec 1, 2014

It appears that the remove_widget method is missing a line at the top:
el = $(el);

Without this line you must pass in a jquery object so the code is actually doing a $($(el))
Like the method add_widget, this method should be expecting "el" to be a string selector.

@troolee troolee added this to the 0.2.1 milestone Dec 2, 2014
@troolee
Copy link
Member

troolee commented Dec 2, 2014

fixed. Thank you.

@troolee troolee closed this as completed Dec 2, 2014
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

2 participants