Spaces:
Running
Running
Update src/playground/playground-interface.jsx
Browse files
src/playground/playground-interface.jsx
CHANGED
@@ -71,9 +71,9 @@ class Interface extends React.Component {
|
|
71 |
}
|
72 |
handleUpdateProjectTitle(title, isDefault) {
|
73 |
if (isDefault || !title) {
|
74 |
-
document.title = `
|
75 |
} else {
|
76 |
-
document.title = `${title} -
|
77 |
}
|
78 |
}
|
79 |
render() {
|
|
|
71 |
}
|
72 |
handleUpdateProjectTitle(title, isDefault) {
|
73 |
if (isDefault || !title) {
|
74 |
+
document.title = `Scratch for School - ${this.props.intl.formatMessage(messages.defaultTitle)}`;
|
75 |
} else {
|
76 |
+
document.title = `${title} - Scratch for School`;
|
77 |
}
|
78 |
}
|
79 |
render() {
|