diff options
Diffstat (limited to 'public/js/gogs.js')
-rw-r--r-- | public/js/gogs.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/public/js/gogs.js b/public/js/gogs.js index cd80479680..0675af5837 100644 --- a/public/js/gogs.js +++ b/public/js/gogs.js @@ -223,7 +223,7 @@ $(document).ready(function () { $('.dropdown').dropdown(); $('.jump.dropdown').dropdown({ action: 'hide', - onShow: function() { + onShow: function () { $('.poping.up').popup('hide'); } }); @@ -237,8 +237,8 @@ $(document).ready(function () { }); $('.poping.up').popup(); $('.top.menu .poping.up').popup({ - onShow: function() { - if ( $('.top.menu .menu.transition').hasClass('visible') ) { + onShow: function () { + if ($('.top.menu .menu.transition').hasClass('visible')) { return false; } } |