From 9d70ac386192ef044d5d9a2ad6df004151ed1626 Mon Sep 17 00:00:00 2001 From: Kieran Harkin Date: Wed, 24 Jun 2015 10:48:17 +0100 Subject: pass full url back to client --- js/pomf.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js') diff --git a/js/pomf.js b/js/pomf.js index 52d03ee..f5dd06b 100644 --- a/js/pomf.js +++ b/js/pomf.js @@ -124,9 +124,9 @@ $(function () { eachRow(res.files, function (row, file, files) { var link = $('') - link.attr('href', 'http://a.pomf.se/' + file.url) + link.attr('href', file.url) .attr('target', '_BLANK') - .text('a.pomf.se/' + file.url) + .text(file.url.replace("http://","").replace("https://","")) $('.file-url', row).append(link) }) -- cgit v1.2.3