Changeset 39081
- Timestamp:
- 11/01/2016 09:23:42 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/assets/js/global.js
r39073 r39081 131 131 132 132 /** 133 134 135 133 * Test if inline SVGs are supported. 134 * @link https://github.com/Modernizr/Modernizr/ 135 */ 136 136 function supportsInlineSVG() { 137 137 var div = document.createElement( 'div' ); … … 173 173 adjustHeaderHeight(); 174 174 setQuotesIcon(); 175 supportsInlineSVG();176 175 if ( true === supportsInlineSVG() ) { 177 176 document.documentElement.className = document.documentElement.className.replace( /(\s*)no-svg(\s*)/, '$1svg$2' );
Note: See TracChangeset
for help on using the changeset viewer.