diff --git a/static/css/gofly-front.css b/static/css/gofly-front.css index 9c31c6b..b67a24a 100644 --- a/static/css/gofly-front.css +++ b/static/css/gofly-front.css @@ -103,6 +103,7 @@ height: 32px; overflow: hidden; line-height: 32px; + margin-bottom: 4px; } @-webkit-keyframes bounce-up { 25% {-webkit-transform: translateY(6px);} diff --git a/static/js/gofly-front.js b/static/js/gofly-front.js index a7485c7..0a03ff4 100644 --- a/static/js/gofly-front.js +++ b/static/js/gofly-front.js @@ -108,9 +108,6 @@ GOFLY.getNotice=function(){ if(len>0){ _this.noticeTimer=setInterval(function(){ - if(i==0){ - $("#launchIcon").text(len).show(); - } if(i>=len||typeof msg[i]=="undefined"||msg[i]==null){ clearInterval(_this.noticeTimer); return; @@ -123,6 +120,7 @@ GOFLY.getNotice=function(){ welcomeHtml+="
"+replaceContent(content.content,_this.GOFLY_URL)+"
"; $("#launchButtonNotice").html(welcomeHtml).show(); i++; + $("#launchIcon").text(i).show(); },4000); }