summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/pomf.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/pomf.js b/js/pomf.js
index dfde7f4..29ef20b 100644
--- a/js/pomf.js
+++ b/js/pomf.js
@@ -122,9 +122,10 @@ $(function () {
break
}
eachRow(res.files, function (row, file, files) {
+ var url = 'https://i.pantsu.cat/' + file.url
var link = $('<a>')
- link.attr('href', file.url)
+ link.attr('href', url)
.attr('target', '_BLANK')
.text(file.url.replace("http://","").replace("https://",""))