From 9b5836bc8bd885b5a9f1e580581ea54799dc0d59 Mon Sep 17 00:00:00 2001
From: Chris Hallberg <crhallberg@gmail.com>
Date: Wed, 30 Jul 2014 15:41:14 -0400
Subject: [PATCH] Google Preview fix for Bootstrap 2.

---
 themes/bootstrap/js/preview.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/themes/bootstrap/js/preview.js b/themes/bootstrap/js/preview.js
index 087581fe6f6..47b1bff4641 100644
--- a/themes/bootstrap/js/preview.js
+++ b/themes/bootstrap/js/preview.js
@@ -33,8 +33,7 @@ function applyPreviewUrl($link, url) {
 
     // Update associated record thumbnail, if any:
     $link.parents('.result,.record')
-        .find('img.img-polaroid')
-        .parents('a').attr('href', url);
+        .find('.title').attr('href', url);
 }
 
 function processBookInfo(booksInfo, previewClass) {
-- 
GitLab