Skip to content

Commit

Permalink
修复自己创造的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Myer921 authored and Myer921 committed Oct 12, 2016
1 parent 8d2b9af commit e0d6afc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ hexo.extend.tag.register('dplayer', function(args) {
case 'height':
height = arg.slice(arg.indexOf("=")+1);
break;
case 'addition':
case 'addition':
addition = arg.slice(arg.indexOf("=")+1);
break;
}
Expand All @@ -141,11 +141,11 @@ hexo.extend.tag.register('dplayer', function(args) {
pic: pic
},
danmaku: (api == undefined ? undefined :{
addition: [addition],
api: api,
id: did,
token: token,
maximum: maximum
maximum: maximum,
addition: [addition]
})
}).replace("\"document.getElementById('')\"",'document.getElementById("'+ id +'")') +
');</script>';
Expand Down

0 comments on commit e0d6afc

Please sign in to comment.