From c34ec2b259b6166880fdc1624a0bcc358f3a1ddd Mon Sep 17 00:00:00 2001 From: Sriram Hariharan Date: Thu, 10 Jan 2019 22:20:19 -0600 Subject: [PATCH] removed prompt --- js/popup.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/js/popup.js b/js/popup.js index bfa2c30e..3db527d3 100644 --- a/js/popup.js +++ b/js/popup.js @@ -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.'); }