зеркало из https://github.com/mozilla/gecko-dev.git
21 строка
708 B
JavaScript
21 строка
708 B
JavaScript
var servicesDiv = document.getElementById("webservices-container");
|
|
servicesDiv.style.display = "none";
|
|
|
|
function showServices() {
|
|
servicesDiv.style.display = "";
|
|
}
|
|
let showWebServices = document.getElementById("showWebServices");
|
|
showWebServices.addEventListener("click", showServices);
|
|
|
|
var disablingServicesDiv = document.getElementById("disabling-webservices-container");
|
|
|
|
function showDisablingServices() {
|
|
disablingServicesDiv.style.display = "";
|
|
}
|
|
|
|
if (disablingServicesDiv != null) {
|
|
disablingServicesDiv.style.display = "none";
|
|
let showDisablingWebServices = document.getElementById("showDisablingWebServices");
|
|
showDisablingWebServices.addEventListener("click", showDisablingServices);
|
|
}
|