X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=BookReader%2FBookReader.js;h=1efa4dfaac1f06a5e3997f567088f103ce9fdc92;hb=e92a3bc11eb6277c1ba6d65124034cbbcaf763a6;hp=885b2d8b5fad1c0de0eee2e8089133e9b5eed8be;hpb=1b2c55c7e8400ec8d49b0c95f93fc25b3a00bb8c;p=bookreader.git diff --git a/BookReader/BookReader.js b/BookReader/BookReader.js index 885b2d8..1efa4df 100644 --- a/BookReader/BookReader.js +++ b/BookReader/BookReader.js @@ -3606,21 +3606,24 @@ BookReader.prototype.addChapterFromEntry = function(tocEntryObject) { BookReader.prototype.initToolbar = function(mode, ui) { // $$$mang should be contained within the BookReader div instead of body - var readIcon = '' + + var readIcon = ''; if (!navigator.userAgent.match(/mobile/i)) { readIcon = ""; } - + $("body").append( "
" + "" /* XXXmang integrate search */ + "
" // XXXmang icons incorrect or handlers wrong + + "" + + "" + "" + "" + readIcon - + "" + //+ "" + "
" + "" + "Back to" + this.bookTitle + "" @@ -3639,6 +3642,8 @@ BookReader.prototype.initToolbar = function(mode, ui) { */ ); + $('#BRtoolbar .pause').hide(); + this.updateToolbarZoom(this.reduce); // Pretty format if (ui == "embed" || ui == "touch") { @@ -3665,7 +3670,7 @@ BookReader.prototype.initToolbar = function(mode, ui) { '.embed': 'Embed BookReader', '.link': 'Link to this book (and page)', '.bookmark': 'Bookmark this page', - '.read': 'Allow BookReader to read this aloud', + '.read': 'Read this book aloud', '.full': 'Show fullscreen', '.book_left': 'Flip left', '.book_right': 'Flip right',