1jQuery(function() 2{ 3 var $ = jQuery; 4 5 if($('body.page-vacancies').length == 0) 6 return; 7 8 9 function clickOnVacanciesView(event) 10 { 11 if(event.target.tagName == "SPAN" || event.target.tagName == "A") 12 return; 13 14 var $parent = $(event.target).parents('.views-row'); 15 if($parent.lenght == 0) 16 return; 17 18 var $availableLinks = $(".node-readmore a span", $parent); 19 if($availableLinks.lenght == 0) 20 return; 21 22 $availableLinks.trigger('click'); 23 } 24 25 $('.view-vacancies-view').click(clickOnVacanciesView); 26 27 Drupal.behaviors.activateAgendaClick = { 28 attach: function (context, settings) { 29 if(!context.hasClass('view-vacancies-view')) 30 return; 31 context.click(clickOnVacanciesView); 32 33 34 35 } 36 }; 37 38 39 40});
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.