Blame view

frontend/web/js/admin-script.js 302 Bytes
c420c609   alex   first commit
1
2
3
4
5
6
7
8
9
10
11
12
  $(function() {
      fixScrollMenu();
  
     function fixScrollMenu() {
         var $SIDEBAR_MENU = $('#sidebar-menu');
         $SIDEBAR_MENU.find('a').on('click', function(ev) {
             if($(this).parent().find('.child_menu').length) {
                 ev.preventDefault();
             }
         })
     }
  });