diff --git a/pkg/interface/src/apps/chat/app.js b/pkg/interface/src/apps/chat/app.js index a617939704..32a97abf16 100644 --- a/pkg/interface/src/apps/chat/app.js +++ b/pkg/interface/src/apps/chat/app.js @@ -32,7 +32,7 @@ export default class ChatApp extends React.Component { } componentDidMount() { - window.title = 'OS1 - Chat'; + document.title = 'OS1 - Chat'; // preload spinner asset new Image().src = '/~landscape/img/Spinner.png'; @@ -74,7 +74,7 @@ export default class ChatApp extends React.Component { }); if (totalUnreads !== this.totalUnreads) { - document.title = totalUnreads > 0 ? `Chat - (${totalUnreads})` : 'Chat'; + document.title = totalUnreads > 0 ? `OS1 - Chat (${totalUnreads})` : 'OS1 - Chat'; this.totalUnreads = totalUnreads; } diff --git a/pkg/interface/src/apps/dojo/app.js b/pkg/interface/src/apps/dojo/app.js index 0ed770ca6f..7332661bbf 100644 --- a/pkg/interface/src/apps/dojo/app.js +++ b/pkg/interface/src/apps/dojo/app.js @@ -28,7 +28,7 @@ export default class DojoApp extends Component { } componentDidMount() { - window.title = 'OS1 - Dojo'; + document.title = 'OS1 - Dojo'; const channel = new this.props.channel(); this.api = new Api(this.props.ship, channel); diff --git a/pkg/interface/src/apps/groups/app.js b/pkg/interface/src/apps/groups/app.js index 9ee43fbcb5..f5393189ac 100644 --- a/pkg/interface/src/apps/groups/app.js +++ b/pkg/interface/src/apps/groups/app.js @@ -23,7 +23,7 @@ export default class GroupsApp extends Component { } componentDidMount() { - window.title = 'OS1 - Groups'; + document.title = 'OS1 - Groups'; // preload spinner asset new Image().src = '/~landscape/img/Spinner.png'; diff --git a/pkg/interface/src/apps/launch/app.js b/pkg/interface/src/apps/launch/app.js index 5c5c79d30d..6aa903c40a 100644 --- a/pkg/interface/src/apps/launch/app.js +++ b/pkg/interface/src/apps/launch/app.js @@ -23,7 +23,7 @@ export default class LaunchApp extends React.Component { } componentDidMount() { - window.title = 'OS1 - Home'; + document.title = 'OS1 - Home'; // preload spinner asset new Image().src = '/~landscape/img/Spinner.png'; diff --git a/pkg/interface/src/apps/links/app.js b/pkg/interface/src/apps/links/app.js index 15d3a9f08c..3ca8e2c15f 100644 --- a/pkg/interface/src/apps/links/app.js +++ b/pkg/interface/src/apps/links/app.js @@ -29,7 +29,7 @@ export class LinksApp extends Component { } componentDidMount() { - window.title = 'OS1 - Groups'; + document.title = 'OS1 - Links'; // preload spinner asset new Image().src = '/~landscape/img/Spinner.png'; @@ -73,7 +73,7 @@ export class LinksApp extends Component { ); if(totalUnseen !== this.totalUnseen) { - document.title = totalUnseen !== 0 ? `Links - (${totalUnseen})` : 'Links'; + document.title = totalUnseen !== 0 ? `OS1 - Links (${totalUnseen})` : 'OS1 - Links'; this.totalUnseen = totalUnseen; } diff --git a/pkg/interface/src/apps/publish/app.js b/pkg/interface/src/apps/publish/app.js index 6930f64d71..659702df9f 100644 --- a/pkg/interface/src/apps/publish/app.js +++ b/pkg/interface/src/apps/publish/app.js @@ -31,7 +31,7 @@ export default class PublishApp extends React.Component { } componentDidMount() { - window.title = 'OS1 - Groups'; + document.title = 'OS1 - Publish'; // preload spinner asset new Image().src = '/~landscape/img/Spinner.png'; @@ -70,7 +70,7 @@ export default class PublishApp extends React.Component { .value(); if (this.unreadTotal !== unreadTotal) { - window.title = unreadTotal > 0 ? `Publish - (${unreadTotal})` : 'Publish'; + document.title = unreadTotal > 0 ? `OS1 - Publish (${unreadTotal})` : 'OS1 - Publish'; this.unreadTotal = unreadTotal; }