From 1e294cb10cf62b2d3c08fdbd18efd4feb189a62b Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 13 Apr 2016 12:46:36 +0100 Subject: [PATCH] fix 'mark all read' --- src/components/structures/RoomView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 4a0abc1bdd..d9d4688b18 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -986,7 +986,8 @@ module.exports = React.createClass({ }, // update the read marker to match the read-receipt - forgetReadMarker: function() { + forgetReadMarker: function(ev) { + ev.stopPropagation(); this.refs.messagePanel.forgetReadMarker(); },