delarge
6/17/2015 - 12:07 PM

SVG to PNG fallback using Modernizr: http://toddmotto.com/mastering-svg-use-for-a-retina-web-fallbacks-with-png-script/

if(!Modernizr.svg) {
    $('img[src*="svg"]').attr('src', function() {
        return $(this).attr('src').replace('.svg', '.png');
    });
}