@ -366,6 +366,7 @@ new Vue({
$('.faceBox').hide();
});
window.onfocus = function () {
window.parent.postMessage({type:"focus"},"*");
if(_this.socketClosed){
return;
}
@ -78,9 +78,13 @@ GOFLY.init=function(config){
var news=$("#launchIcon").text();
$("#launchIcon").text(++news).show();
if(msg.type=="focus"){
clearTimeout(_this.titleTimer);
document.title = _this.originTitle;
clearTimeout(this.titleTimer);
console.log(1);
};