Skip to content
Snippets Groups Projects
Commit 07adcd87 authored by Yannis Barlas's avatar Yannis Barlas
Browse files

code style fix -- DropdownTitle.jsx edited online with Bitbucket

parent d664da91
No related branches found
No related tags found
No related merge requests found
...@@ -127,9 +127,11 @@ class DropdownTitle extends React.Component { ...@@ -127,9 +127,11 @@ class DropdownTitle extends React.Component {
} }
handleClickOutside (event) { handleClickOutside (event) {
var domNode = findDOMNode(this) const domNode = findDOMNode(this)
const input = findDOMNode(this.refs.dropDownInput) const input = findDOMNode(this.refs.dropDownInput)
if (input) input.focus() if (input) input.focus()
if (domNode.classList.contains('open')) { if (domNode.classList.contains('open')) {
if (!domNode.contains(event.target)) { if (!domNode.contains(event.target)) {
this.close() this.close()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment