Announcement

Collapse
No announcement yet.

Is Javascript Being Blocked?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Is Javascript Being Blocked?

    The store owner's staff is reporting that some customers are not able to open (activate) the menu in either the desktop or mobile version. One of the store owner's team members has the same issue on her computer and iPhone. The store owner and I have both tested it but cannot replicate the behavior. If you go here, click on the Shop Now in the desktop view or the hamburger menu in the mobile view. I'm not seeing any console errors so it makes me wonder if the javascript is getting blocked somehow.

    Thoughts?
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    Seeing the same thing as the customers. In DevTools I'm getting the following error:

    Uncaught SyntaxError: Identifier 'omegaNavigation' has already been declared /Merchant2/themes/co…ega-navigation.js:1

    Comment


      #3
      Originally posted by RTHOMASDESIGN View Post
      Seeing the same thing as the customers. In DevTools I'm getting the following error:

      Uncaught SyntaxError: Identifier 'omegaNavigation' has already been declared /Merchant2/themes/co…ega-navigation.js:1
      Am I not seeing that error because the nav works for me? Why would it work for me and not you? Why would it work on my iPhone - that tends to be very sensitive to issues like this.

      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment


        #4
        Hi Leslie,

        Looks like this Omega Navigation JavaScript has been modified. There are two variables called "omegaNavigation" being set, that can/will cause errors. https://developer.mozilla.org/en-US/...ared_parameter
        Matt Zimmermann

        Miva Web Developer
        Alchemy Web Development
        https://www.alchemywebdev.com
        Site Development - Maintenance - Consultation

        Miva Certified Developer
        Miva Professional Developer

        https://www.dev4web.net | Twitter

        Comment


          #5
          Originally posted by lesliekirk View Post

          Am I not seeing that error because the nav works for me? Why would it work for me and not you? Why would it work on my iPhone - that tends to be very sensitive to issues like this.
          Thanks Ryan - seems I had broken the javascript file but for some reason the good one was deeply cached in ALL of my browsers, including my iPhone.
          Leslie Kirk
          Miva Certified Developer
          Miva Merchant Specialist since 1997
          Previously of Webs Your Way
          (aka Leslie Nord leslienord)

          Email me: [email protected]
          www.lesliekirk.com

          Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

          Comment

          Working...
          X