diff --git a/src/components/structures/UserSettings.js b/src/components/structures/UserSettings.js index b928243d40..faa8a56894 100644 --- a/src/components/structures/UserSettings.js +++ b/src/components/structures/UserSettings.js @@ -419,7 +419,7 @@ module.exports = React.createClass({ }, _onClearCacheClicked: function() { - MatrixClientPeg.get().store.deleteAllData().then(() => { + MatrixClientPeg.get().store.deleteAllData().done(() => { // forceReload=false since we don't really need new HTML/JS files // we just need to restart the JS runtime. window.location.reload(false); @@ -704,7 +704,7 @@ module.exports = React.createClass({
- Clear Cache (triggers page refresh) + Clear Cache and Reload
;