Skip to content

Commit

Permalink
fix: remove default button before append new one
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhas committed Dec 25, 2018
1 parent 0018153 commit 6e20342
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Extensions/djMode.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@
"button-play"
);

playButton.removeChild(playButton.querySelector("button"))
playButton.appendChild(newButton);
playButton.setAttribute("djmode-injected", "true");

Expand Down

0 comments on commit 6e20342

Please sign in to comment.