Support » Plugin: jQuery Responsive Select Menu » Solution for incorrect menu item selection

  • Resolved Gal Baras

    (@galbaras)



    In jrsm-jquery.js, on line 90, the code is:

    if ( li.hasClass('current_page_item') ) {

    This causes only pages to be selected as current items for the dropdown menu on mobile phones.

    This line should be changed to:

    if ( li.hasClass('current-menu-item') ) {

    Which selects posts, products or any other thing the menu item may be pointing to that’s current.

    Please apply this fix to your otherwise great plugin.

    I see some “resolved” threads with this problem. Now they can really be resolved 🙂

    https://wordpress.org/plugins/jquery-responsive-select-menu/

Viewing 1 replies (of 1 total)
  • Plugin Author Mickey Kay

    (@mcguive7)

    Hi there,

    Thanks for the heads up – I see that I misunderstood the issue – really appreciate you catching it! Anyhow, this is now fixed in version 1.4, which I just released. Have a look and things should be working just fine!

    All the best,
    Mickey

Viewing 1 replies (of 1 total)
  • The topic ‘Solution for incorrect menu item selection’ is closed to new replies.