diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2015-11-21 12:01:32 -0500 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2015-11-23 13:47:47 -0500 |
commit | 6a9ecf207906d8a55715ba8a50cb0552c273a905 (patch) | |
tree | 4c47362943d6a533ddc720a9cbb16cf88e950ccd /web | |
parent | fd229a50234ba8a92c8d538aecf5acd1b37f9f0b (diff) | |
download | chat-6a9ecf207906d8a55715ba8a50cb0552c273a905.tar.gz chat-6a9ecf207906d8a55715ba8a50cb0552c273a905.tar.bz2 chat-6a9ecf207906d8a55715ba8a50cb0552c273a905.zip |
Fixed CommandList to not sometimes include an empty row
Diffstat (limited to 'web')
-rw-r--r-- | web/react/components/command_list.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/command_list.jsx b/web/react/components/command_list.jsx index ff83d0420..7fc0f79cf 100644 --- a/web/react/components/command_list.jsx +++ b/web/react/components/command_list.jsx @@ -81,7 +81,7 @@ export default class CommandList extends React.Component { <div ref='mentionlist' className='command-box' - style={{height: (this.state.suggestions.length * 56) + 2}} + style={{height: (suggestions.length * 56) + 2}} > {suggestions} </div> |