diff --git a/content/io.js b/content/io.js index 08065d8a..85c0edd8 100644 --- a/content/io.js +++ b/content/io.js @@ -89,14 +89,13 @@ function IO() //{{{ { if (download.state == downloadManager.DOWNLOAD_FINISHED) { - autocommands.trigger("DownloadPost", - { - url: download.source.spec, - file: download.targetFile.path, - title: download.displayName, - size: download.size - } - ); + let url = download.source.spec; + let title = download.displayName; + let file = download.targetFile.path; + let size = download.size; + + liberator.echomsg("Download of " + title + " to " + file + " finished", 1); + autocommands.trigger("DownloadPost", { url: url, title: title, file: file, size: size }); } } };