PageSourceSearch

https://www.thekillersmusic.com/wp-content/plugins/umg-grand-royal…/js/shortcodes/filters.js?ver=3.5.9

js thekillersmusic.com collected 2026-10-02 03:39:45 UTC 1,056 bytes, 41 lines download raw bytes

1/**
2 * @author Ljupche Vasilev
3 * @summary Advanced Filters
4 */
5
6let GRAdvancedFilters;
7
8document.addEventListener("DOMContentLoaded", function () {
9
10    const selectors = {
11        form: '#umggr-filters',
12        clearBtn: '.btn-clear',
13    };
14
15    const form = document.querySelector(selectors.form);
16    const clearBtn = document.querySelector(selectors.clearBtn);
17
18    GRAdvancedFilters = {
19
20        init() {
21
22            if (clearBtn) {
23                clearBtn.addEventListener('click', this.clearForm);
24            }
25        },
26
27        clearForm(e) {
28            if (form !== null) {
29                const musicSectionURL = jQuery(e.target).data('href')
30                if (musicSectionURL !== window.location.href) {
31                    window.location.href = musicSectionURL
32                } else {
33                    jQuery(form).find('input:not([type="button"]):not([type="submit"])').val('');
34                    jQuery(form).find('select').val('default');
35                }
36            }
37        },
38    }
39
40    GRAdvancedFilters.init();
41});

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.