diff --git a/breek/assets/media/js/functions.js b/breek/assets/media/js/functions.js index 892acc1..b41b49b 100644 --- a/breek/assets/media/js/functions.js +++ b/breek/assets/media/js/functions.js @@ -42,7 +42,7 @@ var parse_url = /^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/; var location_href = window.location.href.replace(parse_url,'$3'); - $('.post-excerpt a:not(:has(img)),.post-content a:not(:has(img)),.author-name a').hover(function() { + $('.post-excerpt a:not(:has(img)),.post-content a:not(:has(img)),.author-name a,#friends a.friend').hover(function() { var this_href = $(this).attr('href'); var replace_href = this_href.replace(parse_url,'$3'); if ( this_href != replace_href && location_href != replace_href){$(this).attr('target','_blank');} @@ -104,4 +104,4 @@ }); -})(jQuery); \ No newline at end of file +})(jQuery);