Browse Source

1 line code to fix title

Title kept showing the title and artist after you left the station
johand199 9 years ago
parent
commit
065e0ea257
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/client/scripts/routes.js

+ 2 - 1
app/client/scripts/routes.js

@@ -10,11 +10,12 @@ Router.onBeforeAction(function() {
             if (res) {
                 self.render('banned');
             } else {
+                document.title = 'Musare';
                 next();
             }
         });
     } else {
-        next();
+       this.next();
     }
 });