added bold to unread

This commit is contained in:
jeena 2013-08-25 16:45:14 +02:00
parent 34453cff32
commit 0f9834f7a0
2 changed files with 5 additions and 3 deletions

View file

@ -172,8 +172,8 @@ canvas {
outline: none; outline: none;
} }
#list .unread h2 { #list li.unread:after {
font-weight: normal; font-weight: bold;
} }
#full > article { #full > article {

View file

@ -49,6 +49,7 @@ function App() {
window.location.hash = "#"; window.location.hash = "#";
} }
// FIXME move that code somewhere else
$(".info.swipe").ontouchend = function(e) { $(".info.swipe").ontouchend = function(e) {
localStorage.info_swipe = true; localStorage.info_swipe = true;
$(".info.swipe").addClass("hidden"); $(".info.swipe").addClass("hidden");
@ -219,6 +220,7 @@ App.prototype.showFull = function(article, slide_back) {
$(page_id + " .feed_title").innerHTML = article.feed_title; $(page_id + " .feed_title").innerHTML = article.feed_title;
$(page_id + " .author").innerHTML = "";
if(article.author && article.author.length > 0) if(article.author && article.author.length > 0)
$(page_id + " .author").innerHTML = "– " + article.author; $(page_id + " .author").innerHTML = "– " + article.author;