Browse Source

remove unneeded <b> tags from reader title

Andrew Dolgov 10 months ago
parent
commit
6920124b40
2 changed files with 2 additions and 2 deletions
  1. 1 1
      css/read.css
  2. 1 1
      js/read.js

+ 1 - 1
css/read.css

@@ -57,7 +57,7 @@
 	margin-left : 10px;
 	flex-grow : 2;
 	text-align : center;
-	letter-spacing : 0.5px;
+	font-weight : bold;
 }
 
 .footer .chapter {

+ 1 - 1
js/read.js

@@ -469,7 +469,7 @@ function init_reader() {
 		const meta = book.package.metadata;
 
 		document.title = meta.title + " – " + meta.creator + " – The Epube";
-		$(".title").html("<b>" + meta.title + "</b>"); // + " – " + meta.creator);
+		$(".title").text(meta.title);
 
 		return localforage.getItem(cacheId("locations")).then(function(locations) {