Allow for successive growing of "unread_articles".

Move helper function adjacent to method which uses it.
This commit is contained in:
Andy Valencia 2017-01-29 09:03:51 -08:00
parent 124f6ac7ad
commit ef96c04946
2 changed files with 37 additions and 41 deletions

View file

@ -8,15 +8,6 @@ function debug(obj) {
alert(obj)
}
function toggleFeed(feedid) {
var e = document.getElementById("feed" + feedid.toString());
if (e.style.display == "none") {
e.style.display = "";
} else {
e.style.display = "none";
}
}
function $(obj) {
if(typeof obj == "string") return document.querySelector(obj);
else return obj;