aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Board.js1
-rw-r--r--src/Home.js1
-rw-r--r--src/Thread.js2
3 files changed, 3 insertions, 1 deletions
diff --git a/src/Board.js b/src/Board.js
index 31174e2..1e1d8b5 100644
--- a/src/Board.js
+++ b/src/Board.js
@@ -76,6 +76,7 @@ class Board extends Component {
const currentBoard = this.props.boardList.find(board => {
return board.dir === this.props.dir;
});
+ document.title = currentBoard.name + " - B.a.I";
return (
<React.Fragment>
diff --git a/src/Home.js b/src/Home.js
index 665a7a5..4069f0d 100644
--- a/src/Home.js
+++ b/src/Home.js
@@ -60,6 +60,7 @@ class Home extends Component {
}
const { newThreadsList, lastAgeThreads, latestNews } = this.state;
+ document.title = "B.a.I Home";
return (
<Grid columns={2} divided container doubling>
diff --git a/src/Thread.js b/src/Thread.js
index 3a964b5..e4694b7 100644
--- a/src/Thread.js
+++ b/src/Thread.js
@@ -127,11 +127,11 @@ class Thread extends Component {
locked,
id
} = this.state.thread;
- document.title = subject;
const currentBoard = this.props.boardList.find(board => {
return board.dir === this.props.dir;
});
+ document.title = subject + " - " + currentBoard.name + "@B.a.I";
return (
<React.Fragment>