PageSourceSearch

https://www.peopleofthebritishisles.org/sites/all/modules/custom/o…/js/oxdrupal_feedback.js?tm7wi4

js peopleofthebritishisles.org collected 2026-10-02 07:12:03 UTC 809 bytes, 21 lines download raw bytes

1//Add a class to the yes / no labels on click to show which is selected
2jQuery(document).ready(function() {
3  jQuery("#edit-submitted-was-this-page-useful label").click(function () {
4    jQuery('.captcha', '#oxdrupal_feedback_form_wrapper').show();
5    jQuery("#edit-submitted-was-this-page-useful label").each(function () {
6      jQuery(this).removeClass("selected");
7    });
8    jQuery(this).addClass("selected");
9  });
10
11  jQuery(document).ajaxComplete(function(event) {
12    var error;
13    if (jQuery('.error', '#oxdrupal_feedback_form_submit_wrapper').length > 0) {
14      error = jQuery('.error', '#oxdrupal_feedback_form_submit_wrapper').remove();
15      jQuery('.captcha', '#oxdrupal_feedback_form_wrapper').before(error);
16    }
17  });
18
19  jQuery('.captcha', '#oxdrupal_feedback_form_wrapper').hide();
20
21});

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.