mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-20 05:51:08 +02:00
fix event-recycling bug and mend history viz changes
This commit is contained in:
parent
c3dd9a4b17
commit
a3dcd24e4a
@ -251,6 +251,7 @@ module.exports = React.createClass({
|
||||
|
||||
// cancel the click unless the user confirms it
|
||||
ev.preventDefault();
|
||||
var value = ev.target.value;
|
||||
|
||||
Modal.createDialog(QuestionDialog, {
|
||||
title: "Privacy warning",
|
||||
@ -263,7 +264,7 @@ module.exports = React.createClass({
|
||||
onFinished: function(confirmed) {
|
||||
if (confirmed) {
|
||||
self.setState({
|
||||
history_visibility: ev.target.value
|
||||
history_visibility: value
|
||||
});
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user