diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-09-02 03:22:36 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-09-02 03:22:36 +0200 |
commit | 6b2aef96baab8611f1a57c498640e59c72730163 (patch) | |
tree | 8c902514fba5657bb1d3e5a95e39cc6f415bc22c /js | |
parent | 8e13a082bd4542dc5abf51b27f9b75bb8ccabb75 (diff) |
fixed bug that would reverse the show all button
Diffstat (limited to 'js')
-rw-r--r-- | js/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/main.js b/js/main.js index d52aa1c66..a425ced20 100644 --- a/js/main.js +++ b/js/main.js @@ -100,11 +100,11 @@ $(document).ready(function(){ var showAll; if($(this).hasClass('show_all')){ data.show = 'unread'; - showAll = true; + showAll = false; $(this).addClass('show_unread').removeClass('show_all'); } else { data.show = 'all'; - showAll = false; + showAll = true; $(this).addClass('show_all').removeClass('show_unread'); } News.Objects.Menu.setShowAll(showAll); |