removed prompt
This commit is contained in:
@@ -220,11 +220,8 @@ $(document).ready(function () {
|
|||||||
type: "octet/stream"
|
type: "octet/stream"
|
||||||
}));
|
}));
|
||||||
exportlink.setAttribute('href', url);
|
exportlink.setAttribute('href', url);
|
||||||
var name = prompt('W');
|
exportlink.setAttribute('download', 'my_courses.json');
|
||||||
if (name) {
|
exportlink.click();
|
||||||
exportlink.setAttribute('download', name + '.json');
|
|
||||||
exportlink.click();
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
alert('You have no Saved Courses to export.');
|
alert('You have no Saved Courses to export.');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user