Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Prettified Code!

gabekc6b43b91e977
diff --git a/webroot/js/components/chat/username.js b/webroot/js/components/chat/username.js
index c95e3ea567..536b3cfbfd 100644
--- a/webroot/js/components/chat/username.js
+++ b/webroot/js/components/chat/username.js
@@ -79,8 +79,8 @@ export default class UsernameForm extends Component {
}
}
- componentDidUpdate({ }, { displayForm }) {
- if (this.state.displayForm && !displayForm ) {
+ componentDidUpdate({}, { displayForm }) {
+ if (this.state.displayForm && !displayForm) {
document.getElementById('username-change-input').select();
}
}