1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 16:36:15 +00:00

repair the code style

This commit is contained in:
shanshuirenjia
2018-07-31 16:59:46 +08:00
parent 12fb7a18f0
commit 998ca7d675
4 changed files with 110 additions and 109 deletions

View File

@@ -735,9 +735,9 @@ define([
return true;
},
showMobileMenu : function(event) {
showMobileMenu: function(event) {
var mobileMenu = this.mobileMenu.length ? this.mobileMenu : null;
if(mobileMenu){
if (mobileMenu) {
mobileMenu.slideDown('fast');
}
return false;
@@ -745,12 +745,12 @@ define([
hideMobileMenu: function() {
var mobileMenu = this.mobileMenu.length ? this.mobileMenu : null;
if(mobileMenu){
if (mobileMenu) {
mobileMenu.slideUp('fast');
}
},
closeMobileMenu: function(){
closeMobileMenu: function() {
this.hideMobileMenu();
return false;
}