mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-21 23:16:54 +00:00
Reset position in local storage on divider reset
This commit is contained in:
1 parent
8fb25646bd
commit
39d338e5bf
1 file changed
+1
@@ -33,6 +33,7 @@ const SplitPane = createClass({
|
||||
},
|
||||
|
||||
resetSize : function() {
|
||||
window.localStorage.removeItem(this.props.storageKey);
|
||||
this.setState({
|
||||
size : window.innerWidth / 2
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user