PageSourceSearch

https://prairielegacyinc.com/wp-content/plugins/woocommerce-produc…/by_onsales/js/by_onsales.js?ver=2.2.6.4

js prairielegacyinc.com collected 2026-10-04 20:38:01 UTC 1,610 bytes, 48 lines download raw bytes

1"use strict";
2function woof_init_onsales() {
3
4    if (icheck_skin != 'none') {
5
6        jQuery('.woof_checkbox_sales').iCheck({
7            checkboxClass: 'icheckbox_' + icheck_skin.skin + '-' + icheck_skin.color,
8        });
9
10        jQuery('.woof_checkbox_sales').on('ifChecked', function (event) {
11            jQuery(this).attr("checked", true);
12            woof_current_values.onsales = 'salesonly';
13            woof_ajax_page_num = 1;
14            if (woof_autosubmit) {
15                woof_submit_link(woof_get_submit_link());
16            }
17        });
18
19        jQuery('.woof_checkbox_sales').on('ifUnchecked', function (event) {
20            jQuery(this).attr("checked", false);
21            delete woof_current_values.onsales;
22            woof_ajax_page_num = 1;
23            if (woof_autosubmit) {
24                woof_submit_link(woof_get_submit_link());
25            }
26        });
27
28    } else {
29
30        jQuery('.woof_checkbox_sales').on('change', function (event) {
31            if (jQuery(this).is(':checked')) {
32                jQuery(this).attr("checked", true);
33                woof_current_values.onsales = 'salesonly';
34                woof_ajax_page_num = 1;
35                if (woof_autosubmit) {
36                    woof_submit_link(woof_get_submit_link());
37                }
38            } else {
39                jQuery(this).attr("checked", false);
40                delete woof_current_values.onsales;
41                woof_ajax_page_num = 1;
42                if (woof_autosubmit) {
43                    woof_submit_link(woof_get_submit_link());
44                }
45            }
46        });
47    }
48}

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.