mirror of
https://github.com/element-hq/element-web
synced 2024-10-25 04:05:55 +03:00
fixup for roomsublist fix
This commit is contained in:
parent
fb4a441341
commit
f4e61b2bf1
1 changed files with 6 additions and 1 deletions
|
@ -164,7 +164,12 @@ module.exports = React.createClass({
|
||||||
|
|
||||||
// load stored sizes
|
// load stored sizes
|
||||||
Object.entries(this.subListSizes).forEach(([id, size]) => {
|
Object.entries(this.subListSizes).forEach(([id, size]) => {
|
||||||
this.resizer.forHandleWithId(id).resize(size);
|
const handle = this.resizer.forHandleWithId(id);
|
||||||
|
if (handle) {
|
||||||
|
try {
|
||||||
|
handle.resize(size);
|
||||||
|
} catch(_e) {}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
this.resizer.attach();
|
this.resizer.attach();
|
||||||
|
|
Loading…
Reference in a new issue