Compare commits

..

No commits in common. "absolute-zero" and "10.10" have entirely different histories.

2 changed files with 2 additions and 5 deletions

View File

@ -227,7 +227,7 @@ public class PluginConfiguration : BasePluginConfiguration
/// <summary>
/// Gets or sets the amount of intro to play (in seconds).
/// </summary>
public int RemainingSecondsOfIntro { get; set; }
public int RemainingSecondsOfIntro { get; set; } = 2;
/// <summary>
/// Gets or sets the amount of intro at start to play (in seconds).

View File

@ -935,8 +935,6 @@
persistSkip.addEventListener("change", persistSkipChanged);
var remainingSecondsOfIntro = document.getElementById("RemainingSecondsOfIntro")
async function pluginSkipSettingChanged() {
if (pluginSkip.checked) {
serverSkipSettings.style.display = "unset";
@ -946,7 +944,6 @@
autoSkip.checked = false;
skipButtonVisible.checked = false;
persistSkip.checked = false;
remainingSecondsOfIntro.value = 0;
}
}
@ -1612,7 +1609,7 @@
fetchWithAuth("Episode/" + lhsId + "/Timestamps", "POST", JSON.stringify(newLhs));
fetchWithAuth("Episode/" + rhsId + "/Timestamps", "POST", JSON.stringify(newRhs));
Dashboard.alert("New segment timestamps saved");
Dashboard.alert("New introduction timestamps saved");
});
document.addEventListener("keydown", keyDown);
windowHashInterval = setInterval(checkWindowHash, 2500);