After enabling the module and entering info into /admin/config/services/youtubechannel I get the following JS error:
TypeError: href is undefined
youtubeid = href.replace("#","");
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 1869606-href-underfined.patch | 1.37 KB | dgtlmoon |
Comments
Comment #1
parwan005 commentedI believe this one is no longer an issue.
Comment #2
adraskoy commentedI am seeing this on some pages, particularly the media gallery "add media" browser, which is destroyed by this error.
Comment #3
adraskoy commentedJust adding a check for a null href seems to fix the problem.
Comment #4
dgtlmoon commentedPatch supplied, also cleans up bad selectors
Patch deals with it by not running the function if it's not required, so theres no bad href passed in the first place
Comment #5
dgtlmoon commentedComment #7
parwan005 commentedHave tried to fix the issue in latest release.
I hope users will not have to face issue again.
Comment #8
parwan005 commentedComment #9
parwan005 commented