PageSourceSearch

https://www.leeuniversity.edu/wp-content/themes/lee-u/js/majors.js?ver=1.35.0

js leeuniversity.edu collected 2026-10-01 11:58:28 UTC 1,240 bytes, 35 lines download raw bytes

1/* This file should be handling the alerts banner with nixle */
2(function ($, window, document, undefined) {
3    var SETTINGS = {
4        SHOW: "shown",
5        HIDE: "hidden",
6    };
7
8    $(".js-major-course-table").each(function () {
9        var $this = $(this);
10        var $header = $this.find(".js-major-course-header");
11        var $content = $this.find(".js-major-course-content");
12        var $toggle = $this.find(".js-major-course-toggle");
13        var title = $this.find(".js-major-course-title").text();
14
15        $toggle.off("click").on("click", function () {
16            var isHidden = $(this).attr("data-status") === SETTINGS.HIDE;
17
18            if (isHidden) {
19                $content.show("fast");
20                $(this).attr("data-status", SETTINGS.SHOW);
21                $(this).attr(
22                    "aria-label",
23                    "Hide course contents for: " + title
24                );
25            } else {
26                $content.hide("fast");
27                $(this).attr("data-status", SETTINGS.HIDE);
28                $(this).attr(
29                    "aria-label",
30                    "Show course contents for: " + title
31                );
32            }
33        });
34    });
35})(jQuery, this, this.document);

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.