removed prompt

This commit is contained in:
Sriram Hariharan
2019-01-10 22:20:19 -06:00
parent 9673364130
commit c34ec2b259

View File

@@ -220,11 +220,8 @@ $(document).ready(function () {
type: "octet/stream"
}));
exportlink.setAttribute('href', url);
var name = prompt('W');
if (name) {
exportlink.setAttribute('download', name + '.json');
exportlink.click();
}
exportlink.setAttribute('download', 'my_courses.json');
exportlink.click();
} else {
alert('You have no Saved Courses to export.');
}