extracted method

This commit is contained in:
Hauke Klement
2015-03-11 17:30:29 +01:00
parent 344f0edb73
commit ca7679cb2d
3 changed files with 7 additions and 5 deletions

View File

@ -97,9 +97,7 @@ $(function() {
return _.reject(files, function(file) {
return file.file_id === active_file.id;
});
}, function() {
Turbolinks.visit(window.location.pathname);
});
}, window.CodeOcean.refresh);
};
var downloadCode = function(event) {