-
Notifications
You must be signed in to change notification settings - Fork 370
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
*jquery* and *bootstrap-markdown* Preview/Exit full screen buttons unresponsiveness #216
Comments
Hi @Martii, can you provide an jsfiddle example? So we can test this bug! |
Not until next week although I don't use jsfiddle ever so perhaps a little demo project to see what appears. I notice this project doesn't have any tests otherwise I would have run that first... although you are welcome to check out the dev commit that showed this and see it for yourself. ;) e.g. I should mention I only tested this issue on SM before I reverted... There are a number of open issues on jQuery's repo too and some breaking changes there... so who knows for sure what's going on. |
btw here's some Error Console clips (line numbers are from minified source): Warning: ReferenceError: reference to undefined property this[r]
Source File: http://localhost:8080/redist/npm/jquery/dist/jquery.js
Line: 2
Warning: ReferenceError: reference to undefined property p.toggle
Source File: http://localhost:8080/redist/npm/bootstrap-markdown/js/bootstrap-markdown.js
Line: 1
Warning: ReferenceError: reference to undefined property this.keypress
Source File: http://localhost:8080/redist/npm/bootstrap-markdown/js/bootstrap-markdown.js
Line: 1
Warning: ReferenceError: reference to undefined property u.disabled
Source File: http://localhost:8080/redist/npm/jquery/dist/jquery.js
Line: 2
Warning: ReferenceError: reference to undefined property t.uniqueID
Source File: http://localhost:8080/redist/npm/jquery/dist/jquery.js
Line: 1
Warning: ReferenceError: reference to undefined property oe.event.triggered
Source File: http://localhost:8080/redist/npm/jquery/dist/jquery.js
Line: 2
Warning: ReferenceError: reference to undefined property n.closest(...)[0]
Source File: http://localhost:8080/redist/npm/bootstrap-markdown/js/bootstrap-markdown.js
Line: 1
Error: TypeError: this.$textarea.on(...).on(...).on is not a function
Source File: http://localhost:8080/redist/npm/bootstrap-markdown/js/bootstrap-markdown.js
Line: 1 this looks a lot like #215 |
I've created a jsfiddle with jquery 2.2 which can reproduce the bug: http://jsfiddle.net/4prknn7m/1/ Bug doesn't appear with jquery 2.1.* |
Bug can is related to jquery/jquery#2812. Fix for this bug will be released with jquery 1.12.1/2.2.1 other jquery version will work! |
Note, though, that passing an |
Closing as a duplicate as I'm following #215 now since it appears to be that... easier to follow one issue. |
bootstrap-markdown 2.10.0 was released with a fix for this issue! |
Awesome... I'll give it a shot tomorrow when I'm back at dev station. TIA. P.S. Doesn't appear to be on npm registry yet. |
* *jquery* changes that affect *bootstrap-markdown* appear resolved ... Preview once again working refactory-id/bootstrap-markdown#216 and refactory-id/bootstrap-markdown#215 * Doc fixes, and bug fixes as usual... see their changelogs * Delete op retested * Strategy steam retested... okay
So I updated jQuery about a day ago and didn't notice until tonight that the Preview button and exit full screen mode was failing in this package.
I'm not sure whether to create the issue with this project or jQuery's ... but I thought I would start here first.
The work-around is to back out the jQuery update from 2.2.0 back to 2.1.0 but was hoping for some more insight here.
TIA
OUJS Admin
The text was updated successfully, but these errors were encountered: