mirror of
https://github.com/mmvanheusden/SteamDepotDownloaderGUI.git
synced 2026-02-04 05:31:19 +01:00
fix: fix checkpath button enabled when it shouldn't
This commit is contained in:
@@ -210,7 +210,9 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||
document.getElementById("pickpath").addEventListener("click", () => {
|
||||
if (document.getElementById("pickpath").disabled === false) ipcRenderer.send("selectpath")
|
||||
})
|
||||
document.getElementById("checkpath").addEventListener("click", checkPath)
|
||||
document.getElementById("checkpath").addEventListener("click", () => {
|
||||
if (document.getElementById("checkpath").disabled === false) checkPath()
|
||||
})
|
||||
document.getElementById("osdropdown").addEventListener("input", validateChoice)
|
||||
document.getElementById("downloadbtn").addEventListener("click", () => {
|
||||
if (document.getElementById("downloadbtn").disabled === false) submitForm()
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
</div>
|
||||
|
||||
<div aria-label="Check the location that has been selected."
|
||||
class="form-control btn btn-sm ml-2 tooltipped tooltipped-ne" id="checkpath" aria-disabled="false">
|
||||
class="form-control btn btn-sm ml-2 tooltipped tooltipped-ne" id="checkpath" aria-disabled="true">
|
||||
Open location
|
||||
</div>
|
||||
<span class="Label mt-1 ml-3 Label--warning" id="loader">
|
||||
|
||||
Reference in New Issue
Block a user