Browse code

avoid reload on /join

devnewton authored on 12/01/2018 13:04:08
Showing 1 changed files
... ...
@@ -84,7 +84,7 @@ document.addEventListener('DOMContentLoaded', function () {
84 84
                     this.posts = [];
85 85
                     this.room = result[1] || '';
86 86
                     if (this.room !== hashToRoom()) {
87
-                        window.location = this.room ? "#" + this.room : '';
87
+                        window.location = "#" + this.room;
88 88
                     }
89 89
                     return true;
90 90
                 } else {