Jquery error
-
You’re plugin is exactly what we need.
Unfortunately a Jquery error prevents it from opening in.
I disabled all plugings and reverted to a built in WordPress theme and that didn’t work.
I found out which line of code caused it.
However if a change any setting in the dashboard related to the pop-up, the line of code just restores itself.Is there a way to fix this or to permanently remove this code?
Line I commented to solve the issue: (putting // in front of it)
padding.left = new Array(padding.left + 1).join(” “);
padding.right = new Array(padding.right + 1).join(” “);Error from console after trying to open the pop-up:
pum-site-scripts.js?defer&generated=1539954943&ver=1.7.30:1746 Uncaught RangeError: Invalid array length
at Object.divider (pum-site-scripts.js?defer&generated=1539954943&ver=1.7.30:1746)
at Object.popup_event_header (pum-site-scripts.js?defer&generated=1539954943&ver=1.7.30:1727)
at HTMLDivElement.<anonymous> (pum-site-scripts.js?defer&generated=1539954943&ver=1.7.30:1886)
at HTMLDocument.dispatch (jquery.js:4670)
at HTMLDocument.r.handle (jquery.js:4338)
at Object.trigger (jquery.js:4579)
at HTMLDivElement.<anonymous> (jquery.js:5289)
at Function.each (jquery.js:384)
at m.fn.init.each (jquery.js:136)
at m.fn.init.trigger (jquery.js:5288)Thank you in advance.
Remy van Gelderen
- The topic ‘Jquery error’ is closed to new replies.