working pond
This commit is contained in:
parent
08639f9999
commit
35f4825596
5 changed files with 195 additions and 3 deletions
|
@ -94,6 +94,8 @@ App.prototype.after_login = function(backend) {
|
|||
|
||||
if(backend == "OwnCloud") {
|
||||
this.backend = new OwnCloud(this, localStorage.server_url, localStorage.session_id);
|
||||
} else if (backend == "Pond") {
|
||||
this.backend = new Pond(this, localStorage.server_url, localStorage.session_id)
|
||||
} else {
|
||||
this.backend = new TinyTinyRSS(this, localStorage.server_url, localStorage.session_id);
|
||||
}
|
||||
|
@ -283,6 +285,9 @@ App.prototype.showFull = function(article, slide_back) {
|
|||
$(page_id + " .author").innerHTML = "– " + article.author;
|
||||
|
||||
$(page_id + " .article").innerHTML = article.content;
|
||||
$$(page_id + " .article a").forEach(function(o, i) {
|
||||
o.target = "_blank";
|
||||
});
|
||||
|
||||
if(article.unread) {
|
||||
$("#setunread").innerHTML = "❌";
|
||||
|
|
Reference in a new issue