PageSourceSearch

https://acadielove.ca/wp-content/themes/witalk/assets/js/navigation.js?ver=1.0

js acadielove.ca collected 2026-09-25 09:19:20 UTC 1,118 bytes, 37 lines download raw bytes

1'use strict';
2(function ($) {
3    var $trigger = $('.menu-toggle');
4    var $mp_menu = $('#opal-canvas-menu');
5    // Return early if menuToggle is missing.
6    if (!$trigger.length) {
7        return;
8    }
9
10
11    if ($mp_menu.length > 0) {
12        $mp_menu.find('ul').wrap('<div class="mp-level"></div>');
13        $mp_menu.find('li.menu-item-has-children > a').append('<i class="fa fa-chevron-right trigger"></i>');
14        $('<a class="mp-back text-center" href="#"><i class="fa fa-arrow-left"></i></a>').insertBefore($mp_menu.find('ul.sub-menu'));
15        $mp_menu.detach().insertBefore('#page');
16        new mlPushMenu($mp_menu.get(0), $trigger.get(0), {
17            type: 'cover'
18        });
19        $(document).ready(
20            function () {
21                let section_top = $('#wpadminbar').height();
22                $mp_menu.css({
23                    top: section_top
24                })
25            }
26        );
27
28        $(window).resize(() => {
29            let section_top = $('#wpadminbar').height();
30            $mp_menu.css({
31                top: section_top
32            })
33        })
34    }
35
36
37})(jQuery);

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.