PageSourceSearch

https://bdsmovement.net/modules/contrib/webform/js/webform.element.options.js?v=10.2.6

js bdsmovement.net collected 2026-09-24 08:25:00 UTC 674 bytes, 26 lines download raw bytes

1/**
2 * @file
3 * JavaScript behaviors for options elements.
4 */
5
6(function ($, Drupal) {
7
8  'use strict';
9
10  /**
11   * Attach handlers to options buttons element.
12   *
13   * @type {Drupal~behavior}
14   */
15  Drupal.behaviors.webformOptionsButtons = {
16    attach: function (context) {
17      // Place <input> inside of <label> before the label.
18      $(context).find('label.webform-options-display-buttons-label > input[type="checkbox"], label.webform-options-display-buttons-label > input[type="radio"]').each(function () {
19        var $input = $(this);
20        var $label = $input.parent();
21        $input.detach().insertBefore($label);
22      });
23    }
24  };
25
26})(jQuery, Drupal);

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.