mirror of https://github.com/vector-im/riot-web
remove unneeded params (as we're going to change their meaning)
parent
dae509d0eb
commit
35fc5307b6
|
@ -164,15 +164,13 @@ const LoggedInView = React.createClass({
|
|||
};
|
||||
const collapseConfig = {
|
||||
toggleSize: 260 - 50,
|
||||
onCollapsed: (collapsed, item) => {
|
||||
if (item.classList.contains("mx_LeftPanel_container")) {
|
||||
onCollapsed: (collapsed) => {
|
||||
this.setState({collapseLhs: collapsed});
|
||||
if (collapsed) {
|
||||
window.localStorage.setItem("mx_lhs_size", '0');
|
||||
}
|
||||
}
|
||||
},
|
||||
onResized: (size, item) => {
|
||||
onResized: (size) => {
|
||||
window.localStorage.setItem("mx_lhs_size", '' + size);
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue