v1.18.x
Julian Lam 8 years ago
parent 53508e58c3
commit 0ecd2300b3

@ -186,7 +186,7 @@ define('forum/account/edit', ['forum/account/header', 'translator', 'components'
function handleImageUpload(modal) {
function onUploadComplete(urlOnServer) {
urlOnServer = config.relative_path + urlOnServer + '?' + Date.now();
urlOnServer = (!urlOnServer.startsWith('http') ? config.relative_path : '') + urlOnServer + '?' + Date.now();
updateHeader(urlOnServer);

Loading…
Cancel
Save