Skip to content

Commit

Permalink
Adding a reference to the control listeners to the first instance of it
Browse files Browse the repository at this point in the history
  • Loading branch information
MarmadileManteater committed Jun 2, 2022
1 parent 0479c01 commit a804494
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _scripts/cordova-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ const archiver = require('archiver');
try {
// trying to fix the issue where the first controls object created does not have any data
currentControls = createControls(window.currentVideoData, function () {
setupControlsListeners(currentControls);
// Destroy any rouge controls that have popped up
MusicControls.destroy();
});
Expand Down

0 comments on commit a804494

Please sign in to comment.