Fix video speed not resetting if you turn off sync mode while syncing

This commit is contained in:
Mateusz Najdek authored and GitHub committed 2024-02-22 16:46:55 +01:00
1 parent e8cdc5d2a7
commit 4e7568ab9d
1 file changed
+3 -1
+3 -1
View File
@@ -396,7 +396,9 @@ function toggleSyncMode(mode) {
$(".carbon-btn-synctoggle-label").text("SYNC OFF");
$(".carbon-btn-synctoggle-dot").css("background-color", "#999");
$(".carbon-syncoffset-menu").hide();
videoSpeed(1);
setTimeout(function() {
videoSpeed(1);
}, 1000);
} else {
log("sync mode enabled");
document.getElementById("sync-mode").value = 1;