mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2025-01-19 08:01:07 +00:00
Fix title updates
This commit is contained in:
parent
88f6af2f43
commit
4f2a9d78db
1 changed files with 3 additions and 3 deletions
|
@ -285,9 +285,9 @@ const GatherPage = React.createClass({
|
|||
let gather = this.currentGather();
|
||||
if (gather && this.state.updateTitle) {
|
||||
document.title = `NSL Gathers (${gather.gatherers.length}/${gather.teamSize * 2})`;
|
||||
return;
|
||||
} else {
|
||||
document.title = "NSL Gathers";
|
||||
}
|
||||
document.title = "NSL Gathers";
|
||||
},
|
||||
|
||||
toggleEventsPanel(event) {
|
||||
|
@ -369,7 +369,7 @@ const GatherPage = React.createClass({
|
|||
this.setState({
|
||||
currentGather: gather.type
|
||||
});
|
||||
this.updateTitle();
|
||||
setTimeout(this.updateTitle, 200);
|
||||
},
|
||||
|
||||
render() {
|
||||
|
|
Loading…
Reference in a new issue