1import {hideElements, showElements} from "hide-utils"; 2 3$(document).ready(() => { 4 5 let sondagesEnCours = document.getElementsByClassName("sondage-en-cours"); 6 let sondagesTermines = document.getElementsByClassName("sondage-termine"); 7 8 let boutonEnCours = document.querySelector(".sondages #groupement-en-cours"); 9 let boutonTermines = document.querySelector(".sondages #groupement-termines"); 10 11 if (boutonEnCours != null) { 12 boutonEnCours.addEventListener("click", () => { 13 showElements(sondagesEnCours); 14 hideElements(sondagesTermines); 15 }); 16 } 17 18 if (boutonTermines != null) { 19 boutonTermines.addEventListener("click", () => { 20 showElements(sondagesTermines); 21 hideElements(sondagesEnCours); 22 }); 23 } 24 25});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.