Skip to content

Commit

Permalink
fix append function not support issue on old browser.
Browse files Browse the repository at this point in the history
  • Loading branch information
yanwsh committed Jun 28, 2017
1 parent 8077f92 commit 7eff9b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/tech/BasePlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class BasePlayer implements Player {

if(typeof component.el === "function" && component.el()){
if(index === -1){
location.append(component.el());
location.appendChild(component.el());
}else{
let children = location.childNodes;
let child = children[index];
Expand Down

0 comments on commit 7eff9b8

Please sign in to comment.