Update app/static/script.js
Browse files- app/static/script.js +2 -0
app/static/script.js
CHANGED
@@ -41,6 +41,8 @@ async function init() {
|
|
41 |
option.textContent = domain.charAt(0).toUpperCase() + domain.slice(1);
|
42 |
domainSelect.appendChild(option);
|
43 |
});
|
|
|
|
|
44 |
document
|
45 |
.getElementById("loadSchemaBtn")
|
46 |
.addEventListener("click", loadDomain);
|
|
|
41 |
option.textContent = domain.charAt(0).toUpperCase() + domain.slice(1);
|
42 |
domainSelect.appendChild(option);
|
43 |
});
|
44 |
+
// Enable the load button after populating domains
|
45 |
+
document.getElementById("loadSchemaBtn").disabled = false;
|
46 |
document
|
47 |
.getElementById("loadSchemaBtn")
|
48 |
.addEventListener("click", loadDomain);
|