-
Notifications
You must be signed in to change notification settings - Fork 203
jQuery error when trying to edit a post #79
Comments
What steps have you taken to build Postleaf? |
Here are the steps: Copied .env.example to .env and added localhost vim package.json npm install node app.js The app launches fine and I am able to make a post, however, start getting jQuery errors on other interactions as mentioned above. |
Here's a fix tha worked for us, YMMV..
The above command ends up updating
i.e. overwrite the lib.bundle.js from the master, this fixed the above problem. @claviska probably has a much cleaner way :-) , until then, the above fix should work. |
I have a feeling this has something to do with the latest update to the selectable plugin. You could try forcing the previous release in package.json. Not positive until I have time to test this out though. |
Pinning claviska/jquery-selectable to 1.0.6 seems to fix the issue. |
Summary
Write a post, save it and then go to admin/posts, try to click on any post, nothing happens.
The following error gets displayed in developer console.
lib.bundle.js:120 Uncaught TypeError: $(...).selectable is not a function
at HTMLDocument. (lib.bundle.js:120)
at f (lib.bundle.js:80)
at d (lib.bundle.js:80)
Additional info
The text was updated successfully, but these errors were encountered: