Sha256: 000aec84a646a985a9be8216df633eeeb7a667fc4e3b263de4cc071727d5ae7d
Contents?: true
Size: 577 Bytes
Versions: 3
Compression:
Stored size: 577 Bytes
Contents
document.addEventListener("DOMContentLoaded", () => { const menu = document.getElementById("config-selector"); showCurrentConfiguration = () => { const selectedId = menu.options[menu.selectedIndex].value; document.querySelectorAll(".ultra-settings-configuration").forEach((configuration) => { if (configuration.id === selectedId) { configuration.style.display = "block"; } else { configuration.style.display = "none"; } }); } menu.addEventListener("change", showCurrentConfiguration); showCurrentConfiguration(); });
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ultra_settings-1.1.0 | app/application.js |
ultra_settings-1.0.1 | app/application.js |
ultra_settings-1.0.0 | app/application.js |