Skip to content

Commit 74aef1f

Browse files
committed
Comment delay
1 parent a1f8116 commit 74aef1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/views/context_menus/RoomTagContextMenu.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ module.exports = React.createClass({
136136
newTarget = null;
137137
}
138138

139+
// give some time for the user to see the icon change first, since
140+
// this will hide the context menu once it completes
139141
q.delay(500).done(() => {
140142
return Rooms.setDMRoom(this.props.room.roomId, newTarget).finally(() => {
141143
// Close the context menu

0 commit comments

Comments
 (0)