• I added some jQuery code and it works great on desktop and tablet but for some reason it does not on mobile browsers.

    I plugged my iPhone in to my iMac and and used Safari Web Inspector. I saw the script in the header (in script tags) but it was displaying as a text node instead of jQuery. Any ideas why?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @dangerdanj,

    The output from WPCode should be the same regardless of the device. Are you using Google AMP for the mobile version or a caching plugin that has different rules for the mobile version of the site?

    Thread Starter dangerdanj

    (@dangerdanj)

    Not using Google AMP. Not using any caching at the moment.

    Definitely an odd issue to have. Maybe it’s some sort of plugin conflict.

    Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @dangerdanj,

    Yes, there might be something else interfering with the output there or some conditional code that runs just on mobile throwing an error?

    Would it be possible to share the website URL or a screenshot of the inspector in Safari to try to troubleshoot?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘jQuery works on desktop and tablet but not mobile browsers’ is closed to new replies.