roll back tls upgrade for giphy plugin link, as it conflicts with printed link
This commit is contained in:
parent
875001f1b2
commit
2f8ab9dbf3
1 changed files with 0 additions and 2 deletions
|
@ -363,8 +363,6 @@ plugins.factory('userPlugins', function() {
|
|||
var id = url.match(regex);
|
||||
if (id) {
|
||||
var src = "https://media.giphy.com/media/" + id[1] + "/giphy.gif";
|
||||
/* upgrade any http url to tls, yeah crypto */
|
||||
if (url.match(/^http:/i)) { url.replace(/^http:/, "https:"); }
|
||||
return '<a target="_blank" href="'+url+'"><img class="embed" src="' + src + '"></a>';
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue