1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 15:34:26 +02:00

Update bower dependencies, fix redraw regression

- In Mithril, `finally` has been removed from promise objects as it is not part of the ES spec. See https://gist.github.com/jish/e9bcd75e391a2b21206b for info on the substitute.
- Fix a regression introduced in e5a7013 which broke some redraws
This commit is contained in:
Toby Zerner
2016-01-19 17:59:19 +10:30
parent 2980c94247
commit 60d78cedef
9 changed files with 169 additions and 162 deletions

View File

@@ -91,6 +91,7 @@ export default class ForgotPasswordModal extends Modal {
this.success = true;
this.alert = null;
})
.finally(this.loaded.bind(this));
.catch(() => {})
.then(this.loaded.bind(this));
}
}