aerodash-1.0.2/js/main.js
js/main.js
(function ($, Drupal, once) {
Drupal.behaviors.aeroDashBehavior = {
attach: function (context, settings) {
once('myCustomBehavior', 'input.myCustomBehavior', context).forEach(function (element) {
// Apply the myCustomBehaviour effect to the elements only once.
console.log("ssfdcxz");
});
}
};
})(jQuery, Drupal, once);
// jQuery(document).ready(function(){
// console.log("ss");
// // Hide the submenu items
// jQuery('.metismenu .mm-collapse').hide();
// // Handle the click event
// jQuery('.metismenu li.menu-item.menu-item--expanded').hover(function(e){
// // Prevent default click
// //e.preventDefault();
// // Show / hide the submenu
// jQuery(this).find('> ul').stop().slideToggle();
// });
// });