diff --git a/src/dokumentor/static/js/profile/asset.js b/src/dokumentor/static/js/profile/asset.js index d4dc89d..b6e0d9b 100644 --- a/src/dokumentor/static/js/profile/asset.js +++ b/src/dokumentor/static/js/profile/asset.js @@ -118,7 +118,7 @@ $(document).ready(function () { var formData = new FormData(); formData.append('image', resp); formData.append('name', imagePreview); - + $('#' + imagePreview + ' img').attr('src', '/static/img/spinner.gif'); $.ajax({ type: 'POST', url: '/my/upload-image/ajax/',