Skip to content

Commit 9650e85

Browse files
authored
Merge pull request #61 from rmobis/rmobis/fix-unofficial-dashboard-ajax-img
fix unnofficial dashboard img url when loaded through ajax
2 parents fbc60a8 + b807354 commit 9650e85

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

static/js/task.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ $(document).on('click', '#generate_unofficial', function(){
115115
imagePlaceholder.href = data.link
116116
imagePreview.name = data.name;
117117
task.innerHTML = data.name;
118-
image.src = "/static/assets/" + data.image;
119-
imagePreview.src = "/static/assets/" + data.image;
118+
image.src = data.image;
119+
imagePreview.src = data.image;
120120
});
121121
});
122122

0 commit comments

Comments
 (0)