Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function ($) {
- Drupal.behaviors.test = {
- attach: function (context, settings) {
- $('.clickable-row .views-row').each( function() {
- if ($(this).find('a').length) {
- $(this).click(function() {
- window.location=$(this).find('a').attr('href');
- return false;
- });
- }
- });
- }
- };
- })(jQuery);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement