Skip to content

Instantly share code, notes, and snippets.

@iamandrewpeters
iamandrewpeters / bb-clickble-col.js
Created June 9, 2020 16:42 — forked from carlosonweb/bb-clickble-col.js
Make a BB Column Clickable
/**
* Makes a BB Column clickable.
* Pre-requisite: There must be an A Tag contained within the column element.
*/
jQuery(document).ready(function($){
$('.clickable-col').css('cursor', 'pointer');
$('.clickable-col').on('click', function(event){
$(this).find('a')[0].click();
});