Merge pull request #3790 from t3chguy/patch-2

Fix scope of callback
pull/3829/head
David Baker 2017-05-05 18:25:29 +01:00 committed by GitHub
commit 0deed1b511
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ module.exports = React.createClass({
}).done(() => { }).done(() => {
modal.close(); modal.close();
this.refreshRoomList(); this.refreshRoomList();
}, function(err) { }, (err) => {
modal.close(); modal.close();
this.refreshRoomList(); this.refreshRoomList();
console.error("Failed to " + step + ": " + err); console.error("Failed to " + step + ": " + err);