-
Notifications
You must be signed in to change notification settings - Fork 825
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
this.element.find(...).andSelf is not a function #370
Comments
yes, addBack() solved the issue |
@aehlke please look into merging #388. Your library currently breaks because of an outdated jQuery method. In the meantime, if you want to solve your problem, simply go into tag-it.min.js or tag-it.js file and find and replace "andSelf" with "addBack". There should only be one occurrence and you should be good to go. Also this has been a hassle integrating with React. If you're working with react, I also recommend checking out react-select. |
Thank you @thomascorthals. working fine. |
Thank you. It works for me! |
You saved my whole code... 👍 |
I'm surprised why the maintainer is not merging relevant pull requests. |
@aehlke If you are no longer maintaining this library please put a note on the main page as well as the website that it is sunsetted. That way developers who go looking for a tagging library know not to waste a few hours attempting to implement it. This was admittedly a well written library that was useful to many developers over the years, but if you no longer maintain it it now only wastes time and causes frustration for visitors. As pointed out by other devs, tag-it is completely broken due to use of a feature that was deprecated in jQuery 1.8 and completely removed in jQuery 3.0, and will remain broken until you merge the fix (#388) that was written over a year and a half ago. |
Thank you so much. The fix works for me. Save me so much time. Thanks again...:)
|
Fixed by change "andSelf" to "addBack" inside Owlcarousel code. |
+1 to merging the PR #388. I am using the fork now. |
.andSelf() was deprecated in jQuery 1.8 and removed in jQuery 3.0. .addBack() should be used instead from jQuery 1.8 onward.
The text was updated successfully, but these errors were encountered: