Commit 9b60fb11 authored by Michael T Bailey's avatar Michael T Bailey
Browse files

Add Hotfix for Gravatars

parent ff1f7c1a
......@@ -324,3 +324,13 @@ permalink: /people/
</table>
</div>
</div>
<script>
gravatars = $( "img[alt='gravatar image']" )
gravatars.each(function( index ) {
if ($(this).attr('src').includes('@gmu.edu')) {
url = $(this).attr('src')
var md5 = $.md5(url)
$(this).attr('src','https://www.gravatar.com/avatar/'+md5)
}
});
</script>
\ No newline at end of file
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