Skip to content

Commit

Permalink
trying fix #5
Browse files Browse the repository at this point in the history
  • Loading branch information
dixyes authored Oct 12, 2016
1 parent 966589e commit cae4b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ hexo.extend.tag.register('dplayer', function(args) {
id: did,
token: token,
maximum: maximum,
addition: [addition]
addition: (addition == undefined ? undefined : [addition] )
})
}).replace("\"document.getElementById('')\"",'document.getElementById("'+ id +'")') +
');</script>';
Expand Down

0 comments on commit cae4b39

Please sign in to comment.