This commit is contained in:
libccy 2017-03-24 15:06:39 +08:00
parent 4d7d7399f1
commit 90539ab198
1 changed files with 3 additions and 1 deletions

View File

@ -30282,6 +30282,7 @@
var list=[]; var list=[];
this.innerHTML='正在下载'; this.innerHTML='正在下载';
this.classList.add('nopointer');
var url=lib.extensionURL+this.info[0]+'.zip'; var url=lib.extensionURL+this.info[0]+'.zip';
if(typeof window.fetch!='function'){ if(typeof window.fetch!='function'){
game.download(encodeURI(url),this.info[0]+'.zip',function(){ game.download(encodeURI(url),this.info[0]+'.zip',function(){
@ -30311,7 +30312,8 @@
else{ else{
that.innerHTML='安装失败'; that.innerHTML='安装失败';
} }
that.classList.add('nopointer'); that.classList.remove('active');
that.classList.remove('highlight');
}); });
} }
}; };