Added missing semi-colons
Этот коммит содержится в:
@@ -7,7 +7,7 @@ module.exports = React.createClass({
|
|||||||
this.props.handleClick(this.props.username);
|
this.props.handleClick(this.props.username);
|
||||||
},
|
},
|
||||||
select: function() {
|
select: function() {
|
||||||
this.setState({ isFocused: "mentions-focus" })
|
this.setState({ isFocused: "mentions-focus" });
|
||||||
},
|
},
|
||||||
deselect: function() {
|
deselect: function() {
|
||||||
this.setState({ isFocused: "" });
|
this.setState({ isFocused: "" });
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ module.exports = React.createClass({
|
|||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
var tempSelectedMention = -1
|
var tempSelectedMention = -1;
|
||||||
self.refs['mention' + self.state.selectedMention].deselect();
|
self.refs['mention' + self.state.selectedMention].deselect();
|
||||||
if (e.which === 38) {
|
if (e.which === 38) {
|
||||||
if (self.getSelection(self.state.selectedMention - 1))
|
if (self.getSelection(self.state.selectedMention - 1))
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user