Update samy.js
This commit is contained in:
13
samy.js
13
samy.js
@@ -701,19 +701,6 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
updateVisibility();
|
||||
});
|
||||
|
||||
// Rename computer checkbox -> show/hide text box
|
||||
const renameCheckbox = document.getElementById("renameComputer");
|
||||
const renameBlock = document.getElementById("renameComputerBlock");
|
||||
|
||||
if (renameCheckbox && renameBlock) {
|
||||
function updateRenameVisibility() {
|
||||
renameBlock.style.display = renameCheckbox.checked ? "block" : "none";
|
||||
}
|
||||
|
||||
renameCheckbox.addEventListener("change", updateRenameVisibility);
|
||||
updateRenameVisibility();
|
||||
}
|
||||
|
||||
// Tagline rotation
|
||||
const taglines = [
|
||||
"Fast deployments, no monkey business.",
|
||||
|
||||
Reference in New Issue
Block a user