Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

JS error when i click link in mobile.

$
0
0

Replies: 0

Hi,

I made popups and put <span class=”popup-xxx”>Example</span>.

Its work perfectly in PC but it didnt work in Mobile (Iphone).

I turned on “debug option” and check using Chrome develper tool and i found JS error like below.


Uncaught RangeError: Invalid array length
at Object.divider (pum-site-scripts.js?defer&generated=1566558003&ver=1.8.11:1756)
at Object.popup_event_header (pum-site-scripts.js?defer&generated=1566558003&ver=1.8.11:1737)
at HTMLDivElement.<anonymous> (pum-site-scripts.js?defer&generated=1566558003&ver=1.8.11:1896)
at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3)
at HTMLDocument.r.handle (jquery.js?ver=1.12.4-wp:3)
at Object.trigger (jquery.js?ver=1.12.4-wp:3)
at Object.a.event.trigger (jquery-migrate.min.js?ver=1.4.1:2)
at HTMLDivElement.<anonymous> (jquery.js?ver=1.12.4-wp:3)
at Function.each (jquery.js?ver=1.12.4-wp:2)
at a.fn.init.each (jquery.js?ver=1.12.4-wp:2)

I tired to test disable all plugins and clear Cache but popup still didnt work.

You can test my website (screenshot)

Please let me know how do i fix this problem.

Thank you.


Viewing all articles
Browse latest Browse all 59525

Trending Articles