text: /*
  *Company : Fassi Belgium
  Developed : MO-Consult
  Authority : Moers Serge
  Date : 31-10-20
  
  https://bootstrap-menu.com/index.html
  * */
  
  // jquery ready start
  $(document).ready(function() {
      // jQuery code
  
      //////////////////////// Prevent closing from click inside dropdown
      $(document).on('click', '.dropdown-menu', function (e) {
          e.stopPropagation();
      });
  
      // make it as accordion for smaller screens
      if ($(window).width() < 992) {
          $('.dropdown-menu a').click(function(e){
              e.preventDefault();
              if($(this).next('.submenu').length){
                  $(this).next('.submenu').toggle();
              }
              $('.dropdown').on('hide.bs.dropdown', function () {
                  $(this).find('.submenu').hide();
              })
          });
      }
  
  });
  