PageSourceSearch

https://www.kent.edu/modules/custom/kent_state_discover_decisions/js/calculate.js?tlsd5q&tlsd5q

js kent.edu collected 2026-09-24 08:27:58 UTC 1,100 bytes, 31 lines download raw bytes

1jQuery(document).ready(function ($) {
2  // Check if the main container exists before running the script
3  var container = $('#kent-state-discover-decisions');
4
5  if (container.length) {
6    // Check if the radio button group exists before applying buttonset()
7    var radioGroup = container.find('div.form-type-radio');
8    if (radioGroup.length) {
9      radioGroup.buttonset();
10    }
11
12    // Toggle the display of the form and results
13    var step1Legend = container.find('#edit-step-1 legend');
14    if (step1Legend.length) {
15      step1Legend.click(function () {
16        console.log('clicked');
17        container.find('#edit-step-1 .fieldset-wrapper').toggle();
18      });
19    }
20
21    // Event listener for AJAX-loaded content (step 2)
22    $(document).on('click', '#kent-state-discover-decisions #edit-step-2 legend', function () {
23      var step2Wrapper = container.find('#edit-step-2 .fieldset-wrapper');
24      if (step2Wrapper.length) {
25        step2Wrapper.toggle();
26      }
27    });
28  } else {
29    console.warn("The '#kent-state-discover-decisions' element was not found on this page.");
30  }
31});

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.