Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Jquery Admin drop downs in top nav don't work IE browser

kimfreesland pro asked 7 years ago


Hello there, I just downloaded the MDB Admin Template Pro (jQuery version) And the top navigation dropdowns don't work. I just downloaded it a few minutes ago opened the folder and the top navbar dropdowns don't work in IE Is there something you could do to fix this issues. Thank you.

kimfreesland pro answered 7 years ago


All resolved thanks again.

Mikołaj Smoleński staff answered 7 years ago


Hello, Please add this code to Your scripts in order to keep compatibility with IE:
$(document).on('click', function(e) {
 let dropdownEl = e.target.parentNode;
   if(dropdownEl.classList) {
     if(dropdownEl.classList.contains('dropdown-toggle')) {
       $('.dropdown-menu').removeClass('show');
       $(e.target.parentNode.parentNode.childNodes).addClass('show');
     } else {
       $('.dropdown-menu').removeClass('show');
     }
   } else {
   $('.dropdown-menu').removeClass('show');
 }
});
Regards

kimfreesland pro commented 7 years ago

Thank you so much, that did the trick! Thank you for making such an awesome UI/UX product. Our team really loves MDB and so does our clients!


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags