v1.9.96.9

This commit is contained in:
Spmario233 2020-01-05 17:03:08 +08:00 committed by GitHub
parent 29056e2b11
commit 8b448d7a62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -594,7 +594,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
for(var i=0;i<dialog.buttons.length;i++){
if(dialog.buttons[i].link==card){
button=dialog.buttons[i];
button.querySelector('.info').innerHTML=get.translation(target.name);
button.querySelector('.info').innerHTML=get.translation(target);
dialog.buttons.remove(button);
break;
}
@ -615,7 +615,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
}
}
}
},card,dialog.videoId,get.translation(target.name),capt);
},card,dialog.videoId,get.translation(target),capt);
}
dialog.content.firstChild.innerHTML=capt;
game.addVideo('dialogCapt',null,[dialog.videoId,dialog.content.firstChild.innerHTML]);