Reload user when posting
[blerg.git] / www / jssrc / blerg / Post.js
index ee537f2..0c72a99 100644 (file)
@@ -40,7 +40,11 @@ enyo.kind({
     postSuccessful: function() {
         this.setData('');
         this.closePost();
-        this.href = '#' + blerg.API.username;
+        if (location.hash != '#' + blerg.API.username) {
+            qlink(blerg.API.username);
+        } else {
+            this.bubble('onReload');
+        }
     },
     postFailed: function() {
         alert('Could not post!');