Explorar el Código

1 line code to fix title

Title kept showing the title and artist after you left the station
johand199 hace 9 años
padre
commit
065e0ea257
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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();
     }
 });