Commit 8678e0f2 authored by Joost Rijneveld's avatar Joost Rijneveld

Merge branch 'fix_png_is_jpeg' into 'master'

Fix png that's actually a jpeg

See merge request !400
parents b811de2a fd2daa90
......@@ -2865,7 +2865,7 @@ body {
.post-inner {
background-color: #C5C5C5;
background-size: 100% 100%;
background-image: url("../images/gravatarmissing.png");
background-image: url("../images/gravatarmissing.jpeg");
}
}
......
......@@ -827,8 +827,8 @@ jQuery(document).ready(function() {
jQuery(document).ready(function() {
$('.member-item img').on('error', function(e) {
if (e.target.src.indexOf('gravatarmissing.png') == -1) {
e.target.src = '/static/images/gravatarmissing.png';
if (e.target.src.indexOf('gravatarmissing.jpeg') == -1) {
e.target.src = '/static/images/gravatarmissing.jpeg';
}
});
});
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