Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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'));
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement