标题闪烁问题

pull/23/head
630892807@qq.com 4 years ago
parent c6ccb2e897
commit 019ff35c05

@ -63,7 +63,11 @@ GOFLY.init=function(config){
window.addEventListener('message',function(e){ window.addEventListener('message',function(e){
var msg=e.data; var msg=e.data;
if(msg.type=="message"){ if(msg.type=="message"){
_this.flashTitle();//标题闪烁 var width=$(window).width();
if(width>768){
_this.flashTitle();//标题闪烁
}
if (this.launchButtonFlag) return;
$("#launchNoticeContent").html(replaceContent(msg.data.content,_this.GOFLY_URL)); $("#launchNoticeContent").html(replaceContent(msg.data.content,_this.GOFLY_URL));
$("#launchButtonNotice").show(); $("#launchButtonNotice").show();
var news=$("#launchIcon").text(); var news=$("#launchIcon").text();

Loading…
Cancel
Save