Skip to content

Commit

Permalink
Fix mixed content in search
Browse files Browse the repository at this point in the history
  • Loading branch information
petk committed Oct 18, 2018
1 parent 2214861 commit be03c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit be03c4d

Please sign in to comment.