Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2

# Conflicts:
#	modules/bindata/bindata.go
#	public/css/gogs.min.css
This commit is contained in:
Unknwon 2015-08-10 23:01:41 +08:00
commit 887bc1b594
12 changed files with 143 additions and 78 deletions

View file

@ -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.