1(function ($, Drupal) { 2 'use strict'; 3 // Updated for d10 4 // see https://www.drupal.org/project/gin_lb/issues/3361337 5 6 $('.ita-static-cards').css('cursor', 'pointer'); 7 $('.ita-static-cards').hover(function() { 8 $(this).find('.ita-static-cards__bottom').css('z-index','-100'); 9 $(this).css('transform', 'perspective(10px) translateZ(10)'); 10 }); 11 $('.ita-static-cards').click(function() { 12 // window.location = $(this).attr('href'); 13 window.location = $(this).find('a.ita-cta-button').css('transform', 'perspective(10px) translateZ(10)').attr('href'); 14 }); 15 16 $('.ita-content-cards').css('cursor', 'pointer'); 17 $('.ita-content-cards').hover(function() { 18 $(this).find('.ita-content-cards__bottom').css('z-index','-100'); 19 $(this).css('transform', 'perspective(10px) translateZ(10)'); 20 }); 21 $('.ita-content-cards').click(function() { 22 // window.location = $(this).attr('href'); 23 window.location = $(this).find('a.ita-cta-button').css('transform', 'perspective(10px) translateZ(10)').attr('href'); 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.