PageSourceSearch

https://zoobarcelona.cat/themes/custom/bs_base_theme/js/subscribe.js?tljzsy

js zoobarcelona.cat collected 2026-09-24 18:19:07 UTC 811 bytes, 32 lines download raw bytes

1(function($, Drupal, drupalSettings) {
2
3  Drupal.behaviors.subscribe = {
4	attach: function (context, settings) {
5
6	// ================
7	// Inscribe
8	// ================
9	var lang = $('html').attr('lang');
10	switch (lang) {
11		case 'ca': $(".webform-submission-inscriu-te-form input.required").attr("title", "Completa aquest camp"); break;
12		case 'es': $(".webform-submission-inscriu-te-form input.required").attr("title", "Completa este campo"); break;
13		default: 
14			$(".webform-submission-inscriu-te-form input.required").attr("title", "Complete this field"); break;
15			break
16	}
17	
18
19	// ================
20	// Banner subscribe
21	// ================
22
23		// clean input text on click
24		$('#subscriute form input:text').click(function() {
25	        $(this).val('');
26	    });
27
28
29	}
30};
31
32})(jQuery, Drupal, drupalSettings);

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.