This commit is contained in:
Fornax committed 2017-12-17 23:34:49 +01:00
1 parent 643e071202
commit 9a4eddcbd1
10 files changed
+37 -29

No files matched your search

+2 -2
View File
@@ -17,7 +17,7 @@ $(document).ready(function () {
$.ajax({
type: "GET",
dataType: "json",
url: "/api/file/" + id + "/info",
url: APIURL + "/file/" + id + "/info",
async: true,
success: function(data) {
historyAddItem(data);
@@ -54,7 +54,7 @@ function historyAddItem(json) {
var uploadItem = "<div class=\"uploadItem\" >"
+ "<a href=\"/u/" + json.id + "\" target=\"_blank\">"
+ "<img src=\"" + json.thumbnail + "\" "
+ "<img src=\"" + APIURL + json.thumbnail_href + "\" "
+ "alt=\"" + json.file_name + "\" "
+ "class=\"uploadItemImage\" />"
+ json.file_name