fix variable reference in callback

This commit is contained in:
John Supplee 2019-03-03 21:21:34 +02:00
parent 7600e727c1
commit ed68f6d64a
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@
'GET', 'GET',
'', '',
function(data) { function(data) {
$(this).attr('src', 'data:image/gif;base64,' + data); $(that).attr('src', 'data:image/gif;base64,' + data);
} }
); );
}); });