|
|
@ -192,7 +192,9 @@ $.fn.search = function(parameters) { |
|
|
|
var |
|
|
|
$result = $(this), |
|
|
|
$title = $result.find(selector.title).eq(0), |
|
|
|
$link = $result.find('a[href]').eq(0), |
|
|
|
$link = $result.is('a[href]') |
|
|
|
? $result |
|
|
|
: $result.find('a[href]').eq(0), |
|
|
|
href = $link.attr('href') || false, |
|
|
|
target = $link.attr('target') || false, |
|
|
|
title = $title.html(), |
|
|
|