commit 6db6a941a90a603a7ae49a7d65e96e3468a466ea
parent 2d6294711e633c17185e73c4c57cab98a9b65f7e
Author: Florian Kaldowski <flokX@users.noreply.github.com>
Date: Fri, 22 Feb 2019 18:33:50 +0100
Disable AJAX caching
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/admin/main.js b/admin/main.js
@@ -1,5 +1,8 @@
var currentDate = new Date();
var startDate = new Date(new Date().setFullYear(currentDate.getFullYear() - 1));
+$.ajaxSetup({
+ cache: false
+});
$('button#add-shortlink').click(function (event) {
event.preventDefault();