Support » Plugin: fancyBox 3 for WordPress » jQuery error

  • Resolved frietsje

    (@frietsje)


    It seems that the new javascript code from version 1.2.1 fires an error:
    var inline = jQuery(“a[href^=#]:not([href=#])”);
    Syntax error, unrecognized expression: a[href^=#]:not([href=#])

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

    (@w3dev)

    I’m not able to get that error on my end, could you post your working URL so I could take a look at it?

    Sorry, I don’t have a live URL at the moment with the update active.
    But after some debugging it seems that the # can cause trouble if not escaped by \\ or put in between quotes.

    Plugin Author w3dev

    (@w3dev)

    Thanks, i’m going to adjust that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘jQuery error’ is closed to new replies.