diff --git a/src/wp-content/themes/twentyseventeen/assets/js/global.js b/src/wp-content/themes/twentyseventeen/assets/js/global.js index 8c103d6ebe..de64a9c2d7 100644 --- a/src/wp-content/themes/twentyseventeen/assets/js/global.js +++ b/src/wp-content/themes/twentyseventeen/assets/js/global.js @@ -130,9 +130,9 @@ } /** - * Test if inline SVGs are supported. - * @link https://github.com/Modernizr/Modernizr/ - */ + * Test if inline SVGs are supported. + * @link https://github.com/Modernizr/Modernizr/ + */ function supportsInlineSVG() { var div = document.createElement( 'div' ); div.innerHTML = ''; @@ -172,7 +172,6 @@ adjustHeaderHeight(); setQuotesIcon(); - supportsInlineSVG(); if ( true === supportsInlineSVG() ) { document.documentElement.className = document.documentElement.className.replace( /(\s*)no-svg(\s*)/, '$1svg$2' ); }