added previews next
This commit is contained in:
parent
ee6ba89ab4
commit
218f556a98
6 changed files with 40 additions and 15 deletions
|
@ -35,5 +35,10 @@ function setArticle(article) {
|
|||
if(article.author && article.author.length > 0)
|
||||
$("author").innerHTML = "– " + article.author
|
||||
$("article").innerHTML = article.content;
|
||||
|
||||
var as = $("article").getElementsByTagName("a");
|
||||
for(var i = 0; i <= as.length; i++) {
|
||||
as[i].target = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue