diff options
author | Unknwon <u@gogs.io> | 2015-08-10 23:01:41 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-10 23:01:41 +0800 |
commit | 887bc1b594ef5c279c28c90009e67b068978482f (patch) | |
tree | d4390bf5b8a6b4f581fc322a3290e69315060b78 /public/js | |
parent | 884bc4ffd81f5b952df172d43ba7b16e1844ff19 (diff) | |
parent | 2aea247208d4429d111fb9725c16a8e9ea24860f (diff) | |
download | gitea-887bc1b594ef5c279c28c90009e67b068978482f.tar.gz gitea-887bc1b594ef5c279c28c90009e67b068978482f.zip |
Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
# Conflicts:
# modules/bindata/bindata.go
# public/css/gogs.min.css
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/gogs.js | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/public/js/gogs.js b/public/js/gogs.js index 758b5cf60d..cd80479680 100644 --- a/public/js/gogs.js +++ b/public/js/gogs.js @@ -222,7 +222,10 @@ $(document).ready(function () { // Semantic UI modules. $('.dropdown').dropdown(); $('.jump.dropdown').dropdown({ - action: 'hide' + action: 'hide', + onShow: function() { + $('.poping.up').popup('hide'); + } }); $('.slide.up.dropdown').dropdown({ transition: 'slide up' @@ -233,6 +236,13 @@ $(document).ready(function () { showActivity: false }); $('.poping.up').popup(); + $('.top.menu .poping.up').popup({ + onShow: function() { + if ( $('.top.menu .menu.transition').hasClass('visible') ) { + return false; + } + } + }); // Helpers. |