Shorted the length of star.

This commit is contained in:
Alvaro Rodriguez 2013-09-14 19:33:44 +02:00
parent 1ed7b4c610
commit d2219b0259
2 changed files with 3 additions and 1 deletions

View file

@ -81,7 +81,7 @@
<header class="bar"> <header class="bar">
<a class="button" href="#list">List</a> <a class="button" href="#list">List</a>
<a id="setunread" class="button" href="#unread">Set unread</a> <a id="setunread" class="button" href="#unread">Set unread</a>
<a id="setstarred" class="button" href="#starred">Set starred</a> <a id="setstarred" class="button" href="#starred">no *</a>
<canvas width="40" height="40"></canvas> <canvas width="40" height="40"></canvas>
</header> </header>
<article> <article>

View file

@ -264,6 +264,7 @@ App.prototype.showFull = function(article, slide_back) {
} else { } else {
$("#setunread").innerHTML = "Set unread"; $("#setunread").innerHTML = "Set unread";
} }
$("#setstarred").innerHTML = "no *";
}; };
@ -308,6 +309,7 @@ App.prototype.setCurrentStarred = function() {
if(!article) return; // happens if we're not on a full article site if(!article) return; // happens if we're not on a full article site
this.ttrss.setArticleStarred(article.id); this.ttrss.setArticleStarred(article.id);
$("#setstarred").innerHTML = "*";
}; };
App.prototype.setCurrentUnread = function() { App.prototype.setCurrentUnread = function() {