PageSourceSearch

https://www.uide.edu.ec/wp-content/uploads/custom-css-js/188236.js?v=1379

js uide.edu.ec collected 2026-10-02 15:05:13 UTC 1,791 bytes, 56 lines download raw bytes

1/******* Do not edit this file *******
2Simple Custom CSS and JS - by Silkypress.com
3Saved: Apr 29 2026 | 20:06:24 */
4document.addEventListener('DOMContentLoaded', function () {
5  var links = document.querySelectorAll('.quadmenu-item-has-children > a');
6  links.forEach(function (a) {
7    a.addEventListener('touchstart', function (e) {
8      var li = a.parentElement;
9      if (!li.classList.contains('qm-open')) {
10        e.preventDefault();            // primer toque: no navega
11        li.classList.add('qm-open');   // abre el submenú
12        // cierra hermanos abiertos
13        var siblings = li.parentElement.querySelectorAll('.qm-open');
14        siblings.forEach(function (s) { if (s !== li) s.classList.remove('qm-open'); });
15      }
16    }, { passive: false });
17  });
18});
19
20document.addEventListener("DOMContentLoaded", function () {
21
22    function waitForGoogleMaps() {
23
24        if (typeof google !== "undefined" && google.maps && google.maps.OverlayView) {
25
26            if (typeof WPGMZA !== "undefined" && WPGMZA.maps && WPGMZA.maps.length > 0) {
27
28                google.maps.event.trigger(WPGMZA.maps[0].map, "resize");
29
30            }
31
32        } else {
33
34            setTimeout(waitForGoogleMaps, 300);
35
36        }
37
38    }
39
40    waitForGoogleMaps();
41
42});
43
44
45
46document.querySelectorAll('.menu-item-has-children > a').forEach(function(link) {
47    link.addEventListener('click', function(e) {
48        if (window.innerWidth <= 1024) {
49            e.preventDefault();
50            var submenu = this.nextElementSibling;
51            var expanded = this.getAttribute('aria-expanded') === 'true';
52            this.setAttribute('aria-expanded', !expanded);
53            submenu.style.display = expanded ? 'none' : 'block';
54        }
55    });
56});

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.