Commit 1bd0dbb1 authored by Denton Liu's avatar Denton Liu

Removed unnecessary anonymous function

parent 2c587655
......@@ -163,9 +163,7 @@ var run = function () {
for (var i = 0; i < fileList.length; i++) {
var name = fileList[i].name;
if (!storage.exists(utils.fileKey(name)) || confirm('The file ' + name + ' already exists! Would you like to overwrite it?')) {
editor.uploadFile(fileList[i], function () {
updateFiles();
});
editor.uploadFile(fileList[i], updateFiles);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment