Show More
@@ -614,6 +614,15 b' var deleteNotification = function(url, n' | |||||
614 | */ |
|
614 | */ | |
615 | var quick_repo_menu = function(){ |
|
615 | var quick_repo_menu = function(){ | |
616 | YUE.on(YUQ('.quick_repo_menu'),'click',function(e){ |
|
616 | YUE.on(YUQ('.quick_repo_menu'),'click',function(e){ | |
|
617 | //close all opened ones before ! | |||
|
618 | var actives = YUQ('.quick_repo_menu.active'); | |||
|
619 | for(var i=0;i<actives.length;i++){ | |||
|
620 | var el = actives[i]; | |||
|
621 | if(el != e.currentTarget){ | |||
|
622 | YUD.removeClass(el,'active'); | |||
|
623 | YUD.addClass(el.firstElementChild.firstElementChild,'hidden'); | |||
|
624 | } | |||
|
625 | } | |||
617 | var menu = e.currentTarget.firstElementChild.firstElementChild; |
|
626 | var menu = e.currentTarget.firstElementChild.firstElementChild; | |
618 | if(YUD.hasClass(menu,'hidden')){ |
|
627 | if(YUD.hasClass(menu,'hidden')){ | |
619 | YUD.addClass(e.currentTarget,'active'); |
|
628 | YUD.addClass(e.currentTarget,'active'); |
General Comments 0
You need to be logged in to leave comments.
Login now