Spaces:
Runtime error
Runtime error
Update src/playground/render-interface.jsx
Browse files
src/playground/render-interface.jsx
CHANGED
|
@@ -273,9 +273,9 @@ class Interface extends React.Component {
|
|
| 273 |
}
|
| 274 |
handleUpdateProjectTitle (title, isDefault) {
|
| 275 |
if (isDefault || !title) {
|
| 276 |
-
document.title = `
|
| 277 |
} else {
|
| 278 |
-
document.title = `${title} -
|
| 279 |
}
|
| 280 |
}
|
| 281 |
copyProjectLink (id) {
|
|
|
|
| 273 |
}
|
| 274 |
handleUpdateProjectTitle (title, isDefault) {
|
| 275 |
if (isDefault || !title) {
|
| 276 |
+
document.title = `ScratchForSchool - ${this.props.intl.formatMessage(messages.defaultTitle)}`;
|
| 277 |
} else {
|
| 278 |
+
document.title = `${title} - ScratchForSchool`;
|
| 279 |
}
|
| 280 |
}
|
| 281 |
copyProjectLink (id) {
|