1/** 2 * @file 3 * Defines the behavior for the header search form. 4 */ 5 6(function ($, Drupal) { 7 8 'use strict'; 9 10 /** 11 * Submit search form. 12 */ 13 Drupal.behaviors.submitHeaderSearchForm = { 14 attach: function (context) { 15 // Submit search form in header after clicking on search icon. 16 $(once('submitHeaderSearchForm', 'form#jcdecaux-header-search-form', context)).each(function () { 17 var $link = $(this).find('a.btn-sbumit'); 18 $link.click(function (e) { 19 e.preventDefault(); 20 $(this).parent('form').submit(); 21 }); 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.