added bold to unread
This commit is contained in:
parent
34453cff32
commit
0f9834f7a0
2 changed files with 5 additions and 3 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Reference in a new issue