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 8 years, 8 months ago by
FahimMurshed.
-
This reply was modified 8 years, 8 months ago by
FahimMurshed.
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 8 years, 7 months 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 8 years, 7 months 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