http => https
This commit is contained in:
parent
76d0b7d9fc
commit
3bf30d0790
|
@ -7,6 +7,7 @@ agif.prototype.convert = function () {
|
||||||
var href = $(this).attr("href");
|
var href = $(this).attr("href");
|
||||||
if(href != undefined) {
|
if(href != undefined) {
|
||||||
if(href.endsWith(".gif")) {
|
if(href.endsWith(".gif")) {
|
||||||
|
href = href.replace("http:", "https:");
|
||||||
$(this).replaceWith('<img src="'+href+'"></img>');
|
$(this).replaceWith('<img src="'+href+'"></img>');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue