diff --git a/src/components/structures/LoggedInView.js b/src/components/structures/LoggedInView.js index 409988842f..6f2e1f3989 100644 --- a/src/components/structures/LoggedInView.js +++ b/src/components/structures/LoggedInView.js @@ -183,10 +183,13 @@ const LoggedInView = React.createClass({ }, _loadResizerPreferences() { - const lhsSize = window.localStorage.getItem("mx_lhs_size"); + let lhsSize = window.localStorage.getItem("mx_lhs_size"); if (lhsSize !== null) { - this.resizer.forHandleAt(0).resize(parseInt(lhsSize, 10)); + lhsSize = parseInt(lhsSize, 10); + } else { + lhsSize = 350; } + this.resizer.forHandleAt(0).resize(lhsSize); }, onAccountData: function(event) {