diff --git a/js/App.js b/js/App.js index 10da474..6daa9eb 100644 --- a/js/App.js +++ b/js/App.js @@ -129,6 +129,7 @@ App.prototype.after_login = function(backend) { App.prototype.logout = function() { this.backend.logOut(); this.unread_articles = []; + this.next_articles = []; this.populateList(); this.login.log_out(); }; @@ -168,6 +169,7 @@ App.prototype.setColor = function(color) { App.prototype.reload = function() { this.unread_articles = []; + this.next_articles = []; $("#all-read").addClass('inactive'); var number=parseInt(localStorage.numArticles); this.backend.reload(this.gotUnreadFeeds.bind(this),number); @@ -262,6 +264,7 @@ App.prototype.populateList = function() { // Now build the article list; it's a