Skip to content

Commit

Permalink
Use better supported anonymous function syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
WouterSioen committed Jan 12, 2016
1 parent fcaae54 commit 635b501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/assets/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function invite(channel, coc, email, fn){
.end(function(res){
if (res.body.redirectUrl) {
var err = new Error(res.body.msg || 'Server error');
window.setTimeout(() => {
window.setTimeout(function() {
location.href = res.body.redirectUrl;
}, 1500);
}
Expand Down

0 comments on commit 635b501

Please sign in to comment.