Skip to content

Conversation

@jimmcgaw
Copy link
Collaborator

@jimmcgaw jimmcgaw commented Dec 5, 2016

No description provided.

}

disableMessageBox(){
let box = $(ReactDOM.findDOMNode(this.refs.messageBox));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jimmcgaw What does the $(...) do?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes the input element on the message form a jquery-wrapped set. It just gives us the syntactic sugar for .prop and .removeAttr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants