mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-31 20:41:05 +08:00
fix(threadlist): can click already-selected thread to re-open
This commit is contained in:
parent
e5ec9c16af
commit
0cc1457d08
1 changed files with 1 additions and 2 deletions
|
@ -35,8 +35,7 @@ ListTabularItem = React.createClass
|
|||
</div>
|
||||
|
||||
_onClick: ->
|
||||
if not @props.selected
|
||||
@props.onSelect?(@props.item)
|
||||
@props.onSelect?(@props.item)
|
||||
|
||||
@props.onClick?(@props.item)
|
||||
if @_lastClickTime? and Date.now() - @_lastClickTime < 350
|
||||
|
|
Loading…
Reference in a new issue