fix clearPlayer in docs

This commit is contained in:
DIYgod 2018-03-12 02:35:20 +08:00
parent d437aba2f5
commit 539b71b091
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67
1 changed files with 2 additions and 2 deletions

View File

@ -72,8 +72,8 @@ function player () {
function clearPlayer () {
for (let i = 1; i < 10; i++) {
if (window['dp' + (i + 1)]) {
window['dp' + (i + 1)].destroy();
if (window['ap' + (i + 1)]) {
window['ap' + (i + 1)].destroy();
}
}
}