|
|
@ -16,10 +16,10 @@ module.exports = Marionette.AppRouter.extend({
|
|
|
|
|
|
|
|
|
|
|
|
setTitle : function(title) {
|
|
|
|
setTitle : function(title) {
|
|
|
|
title = title;
|
|
|
|
title = title;
|
|
|
|
if (title === 'Sonarr') {
|
|
|
|
if (title === 'Radarr') {
|
|
|
|
document.title = 'Sonarr';
|
|
|
|
document.title = 'Radarr';
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
document.title = title + ' - Sonarr';
|
|
|
|
document.title = title + ' - Radarr';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (window.NzbDrone.Analytics && window.Piwik) {
|
|
|
|
if (window.NzbDrone.Analytics && window.Piwik) {
|
|
|
@ -64,4 +64,4 @@ module.exports = Marionette.AppRouter.extend({
|
|
|
|
AppLayout.mainRegion.show(view);
|
|
|
|
AppLayout.mainRegion.show(view);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|