mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
14 lines
No EOL
311 B
JavaScript
14 lines
No EOL
311 B
JavaScript
EPUBJS.reader.MetaController = function(meta) {
|
||
var title = meta.bookTitle,
|
||
author = meta.creator;
|
||
|
||
var $title = $("#book-title"),
|
||
$author = $("#chapter-title"),
|
||
$dash = $("#title-seperator");
|
||
|
||
document.title = title+" – "+author;
|
||
|
||
$title.html(title);
|
||
$author.html(author);
|
||
$dash.show();
|
||
}; |