mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-10 07:50:33 -07:00
fix dependabot alerts by upgrading puma and nokogiri
This commit is contained in:
parent
cff51bc9f6
commit
bb6f6306c4
5 changed files with 54 additions and 41 deletions
|
|
@ -1,14 +1,18 @@
|
|||
export function initializeListenersForNavDropdowns(){
|
||||
document.addEventListener("turbolinks:load", function() {
|
||||
const schoolDropdown = document.querySelector('#select-school');
|
||||
export function initializeListenersForNavDropdowns() {
|
||||
document.addEventListener("turbolinks:load", function () {
|
||||
const schoolDropdown = document.querySelector("#select-school");
|
||||
if (schoolDropdown) {
|
||||
document.querySelector('#select-school').addEventListener('change', (event) => {
|
||||
window.location = event.target.value;
|
||||
});
|
||||
document
|
||||
.querySelector("#select-school")
|
||||
.addEventListener("change", (event) => {
|
||||
window.location = event.target.value;
|
||||
});
|
||||
|
||||
document.querySelector('#select-district').addEventListener('change', (event) => {
|
||||
window.location = event.target.value;
|
||||
});
|
||||
document
|
||||
.querySelector("#select-district")
|
||||
.addEventListener("change", (event) => {
|
||||
window.location = event.target.value;
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue