Skip to content

Commit

Permalink
Add semicolons to js
Browse files Browse the repository at this point in the history
  • Loading branch information
markusweigelt committed Feb 29, 2024
1 parent d2b6966 commit 6a342be
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ let initMediaPartial = function () {

let onCanPlay = function () {
mediaElement.currentTime = startTime / 1000;
}
};

mediaElement.addEventListener("play", function () {
mediaElement.removeEventListener("canplay", onCanPlay)
mediaElement.removeEventListener("canplay", onCanPlay);
mediaElement.currentTime = startTime / 1000;
});

Expand Down

0 comments on commit 6a342be

Please sign in to comment.