Fix jump to buttons not working on videos that were already submitted

pull/337/head
ElementalAlchemist 2 years ago committed by Mike Lang
parent 8648ad52ee
commit d2f95bea20

@ -188,13 +188,13 @@ window.addEventListener("DOMContentLoaded", async (event) => {
for (const rangeEndSet of document.getElementsByClassName("range-definition-set-end")) { for (const rangeEndSet of document.getElementsByClassName("range-definition-set-end")) {
rangeEndSet.addEventListener("click", getRangeSetClickHandler("end")); rangeEndSet.addEventListener("click", getRangeSetClickHandler("end"));
} }
}
for (const rangeStartPlay of document.getElementsByClassName("range-definition-play-start")) { for (const rangeStartPlay of document.getElementsByClassName("range-definition-play-start")) {
rangeStartPlay.addEventListener("click", rangePlayFromStartHandler); rangeStartPlay.addEventListener("click", rangePlayFromStartHandler);
} }
for (const rangeEndPlay of document.getElementsByClassName("range-definition-play-end")) { for (const rangeEndPlay of document.getElementsByClassName("range-definition-play-end")) {
rangeEndPlay.addEventListener("click", rangePlayFromEndHandler); rangeEndPlay.addEventListener("click", rangePlayFromEndHandler);
} }
}
for (const rangeStart of document.getElementsByClassName("range-definition-start")) { for (const rangeStart of document.getElementsByClassName("range-definition-start")) {
rangeStart.addEventListener("change", (event) => { rangeStart.addEventListener("change", (event) => {
rangeDataUpdated(); rangeDataUpdated();

Loading…
Cancel
Save