http => https

This commit is contained in:
Jiiks 2016-03-31 10:18:40 +03:00
parent 76d0b7d9fc
commit 3bf30d0790
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ agif.prototype.convert = function () {
var href = $(this).attr("href");
if(href != undefined) {
if(href.endsWith(".gif")) {
href = href.replace("http:", "https:");
$(this).replaceWith('<img src="'+href+'"></img>');
}
}