diff --git a/core/assets/js/admin-log.js b/core/assets/js/admin-log.js index 5aa3306..0c016f0 100644 --- a/core/assets/js/admin-log.js +++ b/core/assets/js/admin-log.js @@ -114,12 +114,14 @@ }); request.done(function(response) { + let randomString = Math.random().toString(36).substring(2, 9); + $(".helpfulLogsClickable").remove(); var clickableElement = $("", { class: "helpfulLogsClickable", href: response.file, - download: "", + download: "helpful-log-" + randomString + ".csv", style: "position:absolute;top:0;left:-9999px;" }).appendTo("body"); diff --git a/helpful.php b/helpful.php index 9b40c14..6ecd58d 100644 --- a/helpful.php +++ b/helpful.php @@ -2,7 +2,7 @@ /** * Plugin Name: Helpful * Description: Add a fancy feedback form under your posts or post-types and ask your visitors a question. Give them the abbility to vote with yes or no. - * Version: 4.4.69 + * Version: 4.4.70 * Author: Pixelbart * Author URI: https://pixelbart.de * Text Domain: helpful diff --git a/readme.txt b/readme.txt index 56f5a24..77bf0e7 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: helpful, poll, feedback, reviews, vote, review, voting Requires at least: 4.6 Tested up to: 5.9 Requires PHP: 5.6.20 -Stable tag: 4.4.69 +Stable tag: 4.4.70 License: MIT License License URI: https://opensource.org/licenses/MIT