jQuery Error: unrecognized expression
-
Hi guys,
many thanks for this plugin.
I have an issue in the front.js file, the target element for links is not working.
Old:
jQuery(“[href^=#]”,a) throws an error: “unrecognized expression: [href^=#]”
You can find the fix in the link below, you have to escape the #.New:
jQuery(“[href^=\\#]”,a)See:
https://github.com/jquery/jquery/issues/2885#issuecomment-176856390File to fix: js/front.js
After escaping the # everything works well. Consider that for the next update.
Best regards
Wellington / levelzwo
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘jQuery Error: unrecognized expression’ is closed to new replies.