You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Init page change state in willMount
This commit is contained in:
@@ -291,6 +291,8 @@ export default React.createClass({
|
|||||||
this.handleResize();
|
this.handleResize();
|
||||||
window.addEventListener('resize', this.handleResize);
|
window.addEventListener('resize', this.handleResize);
|
||||||
|
|
||||||
|
this._pageChanging = false;
|
||||||
|
|
||||||
// check we have the right tint applied for this theme.
|
// check we have the right tint applied for this theme.
|
||||||
// N.B. we don't call the whole of setTheme() here as we may be
|
// N.B. we don't call the whole of setTheme() here as we may be
|
||||||
// racing with the theme CSS download finishing from index.js
|
// racing with the theme CSS download finishing from index.js
|
||||||
|
|||||||
Reference in New Issue
Block a user