mistergraphx
9/9/2014 - 5:10 PM

Modernizer : Png fallback for svg From http://zerosixthree.se/snippets/replace-all-svg-with-png-with-modernizr/

if (!Modernizr.svg) {
  $('img[src$=".svg"]').each(function() {
      //E.g replaces 'logo.svg' with 'logo.png'.
      $(this).attr('src', $(this).attr('src').replace('.svg', '.png'));
  });
}