Warn without disabling toggle
This commit is contained in:
parent
2653c0a314
commit
9ff8b19ab5
@ -319,7 +319,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="warningMessage" style="color: #721c24; background-color: #f7cf1f; border: 1px solid #f5c6cb; border-radius: 4px; padding: 10px; margin-bottom: 10px">Failed to add skip button to web interface. See <a href="https://github.com/intro-skipper/intro-skipper/wiki/Troubleshooting#skip-button-is-not-visible" target="_blank" rel="noopener noreferrer">troubleshooting guide</a> for the most common issues.</div>
|
||||
<div id="warningMessage" style="color: #721c24; background-color: #f7cf1f; border: 1px solid #f5c6cb; border-radius: 4px; padding: 10px; margin-bottom: 10px">
|
||||
Failed to add skip button to web interface. See <a href="https://github.com/intro-skipper/intro-skipper/wiki/Troubleshooting#skip-button-is-not-visible" target="_blank" rel="noopener noreferrer">troubleshooting guide</a> for the most common issues.
|
||||
</div>
|
||||
|
||||
<details id="AutoSkipClientList" style="padding-bottom: 1em">
|
||||
<summary>Auto Skip Client List</summary>
|
||||
@ -1335,8 +1337,7 @@
|
||||
}
|
||||
|
||||
if (config["SkipButtonWarning"]) {
|
||||
document.getElementById("SkipButtonContainer").style.display = "none";
|
||||
document.getElementById("PersistContainer").style.display = "none";
|
||||
document.getElementById("warningMessage").style.display = "unset";
|
||||
} else {
|
||||
document.getElementById("warningMessage").style.display = "none";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user