You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-13 18:02:32 +03:00
fix event-recycling bug and mend history viz changes
This commit is contained in:
@@ -251,6 +251,7 @@ module.exports = React.createClass({
|
|||||||
|
|
||||||
// cancel the click unless the user confirms it
|
// cancel the click unless the user confirms it
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
|
var value = ev.target.value;
|
||||||
|
|
||||||
Modal.createDialog(QuestionDialog, {
|
Modal.createDialog(QuestionDialog, {
|
||||||
title: "Privacy warning",
|
title: "Privacy warning",
|
||||||
@@ -263,7 +264,7 @@ module.exports = React.createClass({
|
|||||||
onFinished: function(confirmed) {
|
onFinished: function(confirmed) {
|
||||||
if (confirmed) {
|
if (confirmed) {
|
||||||
self.setState({
|
self.setState({
|
||||||
history_visibility: ev.target.value
|
history_visibility: value
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user