mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
fix url for image replacement, too
This commit is contained in:
parent
318cb728e1
commit
48d498941e
|
|
@ -49,7 +49,7 @@ $.fn.imageUpload = function() {
|
|||
contentType: 'application/octet-stream',
|
||||
}).done(function(data){
|
||||
$input.val(data.file);
|
||||
$img.prop('src', '/imageupload?file=' + data.file);
|
||||
$img.prop('src', '../imageupload?file=' + data.file);
|
||||
clearError();
|
||||
}).fail(function(xhr, error){
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in a new issue