projects
/
bookreader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30176e3
)
Updated book title/link when we receive the OL entry for a book
author
Michael Ang
<mang@archive.org>
Mon, 29 Nov 2010 22:07:47 +0000
(22:07 +0000)
committer
Michael Ang
<mang@archive.org>
Mon, 29 Nov 2010 22:07:47 +0000
(22:07 +0000)
BookReader/BookReader.js
patch
|
blob
|
history
diff --git
a/BookReader/BookReader.js
b/BookReader/BookReader.js
index
701a216
..
ee32dfa
100644
(file)
--- a/
BookReader/BookReader.js
+++ b/
BookReader/BookReader.js
@@
-4544,7
+4544,7
@@
BookReader.prototype.gotOpenLibraryRecord = function(self, olObject) {
// $$$mang cleanup
self.bookUrl = 'http://openlibrary.org' + olObject.key;
self.bookTitle = olObject['title'];
- $('#BRreturn a').attr(
'href', this.bookUrl
);
+ $('#BRreturn a').attr(
{'href': self.bookUrl, 'title': "Go to this book's page on Open Library" }
);
$('#BookReader .logo').attr('title', 'Go to Open Library'); // i18n
$('#BRinfo').remove();