This commit is contained in:
Bruno Windels 2019-02-11 16:27:29 +01:00
parent fbc0bbfb6f
commit ab6535b135

View file

@ -98,7 +98,7 @@ module.exports = React.createClass({
// update overflow indicators // update overflow indicators
this._checkSubListsOverflow(); this._checkSubListsOverflow();
// don't store height for collapsed sublists // don't store height for collapsed sublists
if(!this.collapsedState[key]) { if (!this.collapsedState[key]) {
this.subListSizes[key] = size; this.subListSizes[key] = size;
window.localStorage.setItem("mx_roomlist_sizes", window.localStorage.setItem("mx_roomlist_sizes",
JSON.stringify(this.subListSizes)); JSON.stringify(this.subListSizes));