From: Michael Ang Date: Mon, 29 Nov 2010 22:07:47 +0000 (+0000) Subject: Updated book title/link when we receive the OL entry for a book X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;ds=inline;h=1ba08dc216b0b0d445106a65c3e5b94beea2b5b1;p=bookreader.git Updated book title/link when we receive the OL entry for a book --- diff --git a/BookReader/BookReader.js b/BookReader/BookReader.js index 701a216..ee32dfa 100644 --- 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();