fix dropdown close bug

This commit is contained in:
FuXiaoHei 2014-03-23 17:36:12 +08:00
parent 7b9d4d126a
commit c9e830cefb
2 changed files with 2 additions and 2 deletions

View file

@ -98,7 +98,7 @@ var Gogits = {
};
// fix dropdown inside click
Gogits.initDropDown = function(){
$('.dropdown-menu').on('click','a,button,input,select',function(e){
$('.dropdown-menu.no-propagation').on('click',function(e){
e.stopPropagation();
});
};