From 0f9834f7a0660fc598953ae1399a9958bfe06b13 Mon Sep 17 00:00:00 2001 From: jeena Date: Sun, 25 Aug 2013 16:45:14 +0200 Subject: [PATCH] added bold to unread --- css/screen.css | 4 ++-- js/App.js | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) 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;