summaryrefslogtreecommitdiffstats
path: root/public/js
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-23 17:36:12 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-23 17:36:12 +0800
commitc9e830cefb3b19593e7de05c785efdd93a0982d6 (patch)
tree5acbd2d0c0d7d2b62137d56a9f10ed346eb03959 /public/js
parent7b9d4d126a3d3b12a0a0d10e8ccaa945e3f17eda (diff)
downloadgitea-c9e830cefb3b19593e7de05c785efdd93a0982d6.tar.gz
gitea-c9e830cefb3b19593e7de05c785efdd93a0982d6.zip
fix dropdown close bug
Diffstat (limited to 'public/js')
-rw-r--r--public/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/app.js b/public/js/app.js
index df755727b5..e0f92854f4 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -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();
});
};