mirror of https://github.com/vector-im/riot-web
fix NPE
parent
1b7d80a8cd
commit
05c7891874
|
@ -86,7 +86,7 @@ module.exports = React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
getTopic: function() {
|
getTopic: function() {
|
||||||
return this.refs.topic.value;
|
return this.refs.topic ? this.refs.topic.value : "";
|
||||||
},
|
},
|
||||||
|
|
||||||
getJoinRules: function() {
|
getJoinRules: function() {
|
||||||
|
|
Loading…
Reference in New Issue