Matthew Hodgson 2017-03-27 12:39:51 +01:00
parent f4134167a0
commit d696196d72

View file

@ -45,6 +45,9 @@ module.exports = React.createClass({
}, },
onAction: function(payload) { onAction: function(payload) {
// Disabling this as I find it really really annoying, and was used to the
// previous behaviour - see https://github.com/vector-im/riot-web/issues/3348
/*
switch (payload.action) { switch (payload.action) {
// Clear up the text field when a room is selected. // Clear up the text field when a room is selected.
case 'view_room': case 'view_room':
@ -53,6 +56,7 @@ module.exports = React.createClass({
} }
break; break;
} }
*/
}, },
onChange: function() { onChange: function() {