PageSourceSearch

https://www.syfy.es/sites/all/themes/pint_themes/base/js/data-js-form-hide-hints.js?ta8p3z

js syfy.es collected 2026-10-02 06:28:44 UTC 773 bytes, 26 lines download raw bytes

1(function ($) {
2  Drupal.behaviors.nbcuFormHideHints = {
3    attach: function (context, settings) {
4      var _base = this;
5      $('form[data-js-form-hide-hints]', context).once('nbcuFormHideHints', _base.setupForms);
6    },
7    setupForms: function() {
8      var _base = Drupal.behaviors.nbcuFormHideHints;
9      // Helps handle the HTML5 validation.
10      $('input.form-submit', this).on('click', _base.handelFormSubmit);
11    },
12
13    /**
14     * Submit handler.
15     * The data-js-form-hide-hints attribute is removed after clicking submit.
16     *
17     * @param e
18     */
19    handelFormSubmit: function(e) {
20      if (typeof this.form !== 'undefined') {
21        var $form = $(this.form);
22        $form.removeAttr('data-js-form-hide-hints');
23      }
24    }
25  };
26}(jQuery));

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.