From bbcffe8d745937677352edf25e6a250ca8fd507b Mon Sep 17 00:00:00 2001 From: pantsucat Date: Thu, 17 Sep 2015 21:04:18 +1000 Subject: Fix to work with sharex --- js/pomf.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js/pomf.js') 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 = $('') - link.attr('href', file.url) + link.attr('href', url) .attr('target', '_BLANK') .text(file.url.replace("http://","").replace("https://","")) -- cgit v1.2.3