diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-23 17:36:12 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-23 17:36:12 +0800 |
commit | c9e830cefb3b19593e7de05c785efdd93a0982d6 (patch) | |
tree | 5acbd2d0c0d7d2b62137d56a9f10ed346eb03959 /public/js | |
parent | 7b9d4d126a3d3b12a0a0d10e8ccaa945e3f17eda (diff) | |
download | gitea-c9e830cefb3b19593e7de05c785efdd93a0982d6.tar.gz gitea-c9e830cefb3b19593e7de05c785efdd93a0982d6.zip |
fix dropdown close bug
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/app.js | 2 |
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(); }); }; |