PageSourceSearch

https://metropoleparticipative.fr/include/js/actualite/actualiteHome.js

js metropoleparticipative.fr collected 2026-10-05 17:55:34 UTC 616 bytes, 19 lines download raw bytes

1// Create a condition that targets viewports at least 1024px wide
2const mediaQuery = window.matchMedia('(max-width: 1024px)');
3function handleTabletChange(e) {
4    // Check if the media query is true
5    if (e.matches) {
6        // Then log the following message to the console
7        $(".js-btn-last-actualite").appendTo(".TPL_ACTUALITELASTSHARE");
8    } else {
9        $(".js-btn-last-actualite").appendTo(".btn-last-actualite");
10    }
11}
12
13// Register event listener
14mediaQuery.addEventListener('change', handleTabletChange);
15
16// Initial check
17$(document).ready(function() {
18    handleTabletChange(mediaQuery)
19});

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.