diff --git a/css/screen.css b/css/screen.css index 0ebb201..71e243a 100644 --- a/css/screen.css +++ b/css/screen.css @@ -172,8 +172,8 @@ canvas { outline: none; } -#list .unread h2 { - font-weight: normal; +#list li.unread:after { + font-weight: bold; } #full > article { diff --git a/js/App.js b/js/App.js index ec9c28f..40b4656 100644 --- a/js/App.js +++ b/js/App.js @@ -49,6 +49,7 @@ function App() { window.location.hash = "#"; } + // FIXME move that code somewhere else $(".info.swipe").ontouchend = function(e) { localStorage.info_swipe = true; $(".info.swipe").addClass("hidden"); @@ -219,8 +220,9 @@ App.prototype.showFull = function(article, slide_back) { $(page_id + " .feed_title").innerHTML = article.feed_title; + $(page_id + " .author").innerHTML = ""; if(article.author && article.author.length > 0) - $(page_id + " .author").innerHTML = "– " + article.author; + $(page_id + " .author").innerHTML = "– " + article.author; $(page_id + " .article").innerHTML = article.content;