From ed68f6d64ad591da3b940b430dbcaf8a5fd631ed Mon Sep 17 00:00:00 2001 From: John Supplee Date: Sun, 3 Mar 2019 21:21:34 +0200 Subject: [PATCH] fix variable reference in callback --- management/templates/mailgraph.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/templates/mailgraph.html b/management/templates/mailgraph.html index 22d76088..91577512 100644 --- a/management/templates/mailgraph.html +++ b/management/templates/mailgraph.html @@ -40,7 +40,7 @@ 'GET', '', function(data) { - $(this).attr('src', 'data:image/gif;base64,' + data); + $(that).attr('src', 'data:image/gif;base64,' + data); } ); });