app/soc/content/js/menu.js
changeset 423 25665d645fa8
equal deleted inserted replaced
422:93f9ead45dae 423:25665d645fa8
       
     1 $(function() {
       
     2   var li = $('#side #menu span').parents('li').filter(':has(ul)');
       
     3   li.children('a').dblclick(function() {
       
     4     window.location = $(this).attr('href');
       
     5   }).add(li.children('span')).click(function() {
       
     6     $($(this).parents('li')[0]).toggleClass('closed').children("ul").toggle();
       
     7     return false;
       
     8   });
       
     9 });
       
    10 $(function() {
       
    11   var li = $('#side #menu span').parents('li').filter(':has(ul)');
       
    12   li.children('a').dblclick(function() {
       
    13     window.location = $(this).attr('href');
       
    14   }).add(li.children('span')).click(function() {
       
    15     $($(this).parents('li')[0]).toggleClass('closed').children("ul").toggle();
       
    16     return false;
       
    17   });
       
    18 });
       
    19 $(function() {
       
    20   var li = $('#side #menu span').parents('li').filter(':has(ul)');
       
    21   li.children('a').dblclick(function() {
       
    22     window.location = $(this).attr('href');
       
    23   }).add(li.children('span')).click(function() {
       
    24     $($(this).parents('li')[0]).toggleClass('closed').children("ul").toggle();
       
    25     return false;
       
    26   });
       
    27 });