mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Comment delay
This commit is contained in:
parent
a1f8116e3b
commit
74aef1fdad
@ -136,6 +136,8 @@ module.exports = React.createClass({
|
||||
newTarget = null;
|
||||
}
|
||||
|
||||
// give some time for the user to see the icon change first, since
|
||||
// this will hide the context menu once it completes
|
||||
q.delay(500).done(() => {
|
||||
return Rooms.setDMRoom(this.props.room.roomId, newTarget).finally(() => {
|
||||
// Close the context menu
|
||||
|
Loading…
Reference in New Issue
Block a user