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