Quellcode durchsuchen

1 line code to fix title

Title kept showing the title and artist after you left the station
johand199 vor 9 Jahren
Ursprung
Commit
065e0ea257
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  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();
     }
 });