com web/people: Fix mixed content in search: js/search.js
| From: | Peter Kokot | Date: | Thu, 18 Oct 2018 19:56:04 +0000 |
| Subject: | com web/people: Fix mixed content in search: js/search.js | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-27357@lists.php.net to get a copy of this message | ||
Commit: be03c4db2e7c18d56223d9b70880dbfa786bce2f
Author: Peter Kokot <peterkokot@gmail.com> Thu, 18 Oct 2018 21:56:04 +0200
Parents: 2214861bc03ac9e7ccb3fe188416a5032bc0897f
Branches: master
Link: http://git.php.net/?p=web/people.git;a=commitdiff;h=be03c4db2e7c18d56223d9b70880dbfa786bce2f
Log:
Fix mixed content in search
Changed paths:
M js/search.js
Diff:
diff --git a/js/search.js b/js/search.js
index c26bda8..b61f3f3 100644
--- a/js/search.js
+++ b/js/search.js
@@ -4,7 +4,7 @@ var fnFormatSearchResult = function(value, data, currentValue) {
var listing = users[value]["name"] + " (" +
users[value]["username"] + ")";
listing = listing.replace(new RegExp(pattern, 'gi'),
'<strong>$1<\/strong>');
- return '<img src="http://www.gravatar.com/avatar/' +
users[value]["email"] + '.jpg?s=25" /> ' + listing;
+ return '<img src="https://www.gravatar.com/avatar/' +
users[value]["email"] + '.jpg?s=25" /> ' + listing;
};
$('input.search').autocomplete({