Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('body').once(function(){
- var $fluidBlockContainer = $('.view-fluid-blocks').not('.current-block');
- $fluidBlockContainer.click(function(e) {
- destinationURL = $(this).find('.views-field-title span.field-content a').attr('href');
- if (destinationURL !== undefined) {
- window.location = destinationURL;
- }
- // return false;
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement