Title: Front.min.js &#8211; Syntax Error
Last modified: March 18, 2021

---

# Front.min.js – Syntax Error

 *  [peeter1682](https://wordpress.org/support/users/peeter1682/)
 * (@peeter1682)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/front-min-js-syntax-error/)
 * Recently I noticed bug when opening popup:
 *     ```
       jquery.js?ver=1.12.4-wp:2 Uncaught Error: Syntax error, unrecognized expression: [href*=#]
           at Function.ea.error (jquery.js?ver=1.12.4-wp:2)
           at ea.tokenize (jquery.js?ver=1.12.4-wp:2)
           at Function.ea [as find] (jquery.js?ver=1.12.4-wp:2)
           at n.fn.init.find (jquery.js?ver=1.12.4-wp:2)
           at front.min.js?ver=2.3.6:1
           at Object.n.initContainer (front.min.js?ver=2.3.6:1)
           at Object.n.activateContainer (front.min.js?ver=2.3.6:1)
           at window.DiviAreaItem.focus (front.min.js?ver=2.3.6:1)
           at Object.n.reOrderAreas (front.min.js?ver=2.3.6:1)
           at Object.t.show (front.min.js?ver=2.3.6:1)
       ```
   
 * I found this bug thread from 2019 ([https://wordpress.org/support/topic/jquery-error-unrecognized-expression-2/](https://wordpress.org/support/topic/jquery-error-unrecognized-expression-2/))
   and found that this is caused by unescaped characters based on the mentioned 
   link ([https://github.com/jquery/jquery/issues/2885#issuecomment-176856390](https://github.com/jquery/jquery/issues/2885#issuecomment-176856390))
 * I fixed it by editing file: front.min.js in plugin where I changed
    `[href*=#]
   for [href*=\\#]`
 * Hope it will help.
    -  This topic was modified 5 years, 2 months ago by [peeter1682](https://wordpress.org/support/users/peeter1682/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffront-min-js-syntax-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [ausyed](https://wordpress.org/support/users/ausyed/)
 * (@ausyed)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/front-min-js-syntax-error/#post-14201977)
 * Hello [@peeter1682](https://wordpress.org/support/users/peeter1682/),
 * Apologize for the inconvenience!
 * I would suggest you to update your wordpress version. It seems like you are using
   an old version of wordpress. Can you please check, if the issue exists after 
   the update?
 * Feel free to get back to me, in-case of any query.
 * Regards,
    Syed
 *  Thread Starter [peeter1682](https://wordpress.org/support/users/peeter1682/)
 * (@peeter1682)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/front-min-js-syntax-error/#post-14202302)
 * Hello,
 * [@ausyed](https://wordpress.org/support/users/ausyed/) Thanks for quick response.
   It seems your suggestion is correct. I didn’t notice the update request for WordPress.
 * Appreciate your work! Thanks!
 * Peter

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Front.min.js – Syntax Error’ is closed to new replies.

 * ![](https://ps.w.org/popups-for-divi/assets/icon-256x256.jpg?rev=2553226)
 * [Popups for Divi](https://wordpress.org/plugins/popups-for-divi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popups-for-divi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popups-for-divi/)
 * [Active Topics](https://wordpress.org/support/plugin/popups-for-divi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popups-for-divi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popups-for-divi/reviews/)

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)

 * 2 replies
 * 2 participants
 * Last reply from: [peeter1682](https://wordpress.org/support/users/peeter1682/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/front-min-js-syntax-error/#post-14202302)
 * Status: not a support question