commit:c75a75b8c56f80e9364fcbe0b88a2b432f15bc75
author:Chip Black
committer:Chip Black
date:Tue Mar 1 14:27:45 2011 -0800
parents:c6f0a201689b9807fc81242ec4c013518421e596
Stupid logic error in feed checking
diff --git a/www/js/blerg.js b/www/js/blerg.js
line changes: +1/-1
index ba89815..713f5f1
--- a/www/js/blerg.js
+++ b/www/js/blerg.js
@@ -702,7 +702,7 @@ function hashSwitch() {
         }
     } else if (m = location.hash.match(/^#\/feed(?:\/p(\d+))?$/)) {
         if (loginStatus.loggedIn) {
-            if (currentPager && currentPager.username != loginStatus.username)
+            if (!currentPager || currentPager.username != loginStatus.username)
                 currentPager = new Feed();
             currentPager.show();
             if (m[3]) {