• Resolved alpha2

    (@neoseeyou)


    Hello

    I think you have a bug with the search function.

    I am using last version of firefox and if you check your demo page and click on the magnifying glass icon it will open a new blank page. There is a JS issue with the link

    Thank

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    Thank you so much.

    I have checked this bug and here is the solution.

    Replace this code on the /wp-content/plugins/wp-megamenu/assets/js/wpmm.js line # 1-5

    (function($) {
    
        $('.wpmm-social-link-search').on('click',function(){
            $('.wpmm-search-form').toggle();
        });
    

    to

    $('.wpmm-social-link-search').on('click',function(e){
            e.preventDefault();
            $('.wpmm-search-form').toggle();
        });

    We’ll resolve this issue upcoming version.

    Best Regards,
    Fahim Murshed

    • This reply was modified 7 years, 1 month ago by FahimMurshed.
    • This reply was modified 7 years, 1 month ago by FahimMurshed.
    Thread Starter alpha2

    (@neoseeyou)

    Thank you for the fix ??

    • This reply was modified 7 years, 1 month ago by alpha2.
    Thread Starter alpha2

    (@neoseeyou)

    Unfortunatly it doesn’t seem to work for me

    SyntaxError: expected expression, got ‘}’ in ligne 64 $(window).on(‘resize’, megamenu_strees_row_content);

    • This reply was modified 7 years, 1 month ago by alpha2.

    It works for me…

    FROM

    (function($) {

    $(‘.wpmm-social-link-search’).on(‘click’,function(){
    $(‘.wpmm-search-form’).toggle();
    });

    TO

    (function($) {

    $(‘.wpmm-social-link-search’).on(‘click’,function(e){
    e.preventDefault();
    $(‘.wpmm-search-form’).toggle();
    });

    • This reply was modified 7 years, 1 month ago by siamnaulak.
    Thread Starter alpha2

    (@neoseeyou)

    So it must be a conflict with another plugin… It fix the manify glass icon as it doesn’t open an empty new tab if you click on it but it doesn’t run the search function either.

    I have no JS error in my dev console on firefox

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Search bug’ is closed to new replies.