PageSourceSearch

https://www.puhti.fi/wp-content/themes/puhti/dist/js/fontSize.js?ver=1730900408

js puhti.fi collected 2026-10-02 08:09:47 UTC 699 bytes, 1 lines download raw bytes

1(()=>{var o="fontSize",t=16;sessionStorage.getItem(o)&&(t=Number(sessionStorage.getItem(o)));var m=()=>{let e=document.getElementById("increaseFont");e&&e.addEventListener("click",()=>{n(t+2)});let i=document.getElementById("decreaseFont");i&&i.addEventListener("click",()=>{n(t-2)});let s=document.getElementById("smallFont");s&&s.addEventListener("click",()=>{n(14)});let c=document.getElementById("largeFont");c&&c.addEventListener("click",()=>{n(20)});let d=document.getElementById("resetFont");d&&d.addEventListener("click",()=>{n(16)})},n=e=>{e<14&&(e=14),e>20&&(e=20),t=e,sessionStorage.setItem(o,t),document.documentElement.style.fontSize=t+"px"};n(t),window.addEventListener("load",m)})();

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.