Commit 8fa1b5d8 authored by okhin's avatar okhin 🚴

Update contactslist.html

parent 36ffa565
......@@ -122,13 +122,13 @@ function display_mep(contact) {
return group['type'] === 'group';
});
if ( group.length > 0 ) {
var group_src = 'https://www.europarl.europa.eu/ep_framework/img/group/group_iconsmall_'
var group_src = 'http://www.europarl.europa.eu/ep_framework/img/group/group_iconsmall_'
+ group[0]['name'].toLowerCase().replace('/','') + '.png';
$('<img />').attr('src', group_src)
.appendTo(li);
};
if ( country.length > 0 ) {
var country_src = 'https://www.europarl.europa.eu/ep_framework/img/flag/flag_icon_'
var country_src = 'http://www.europarl.europa.eu/ep_framework/img/flag/flag_icon_'
+ country[0]['name'].toLowerCase().replace('/','') + '.gif';
$('<img />').addClass('circle')
.attr('src', country_src)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment