Changeset 39135
- Timestamp:
- 11/03/2016 11:07:20 PM (8 years ago)
- Location:
- trunk/src/wp-content/themes/twentyseventeen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/assets/js/skip-link-focus-fix.js
r38833 r39135 7 7 */ 8 8 ( function() { 9 var isWebkit = navigator.userAgent.toLowerCase().indexOf( 'webkit' ) > -1, 10 isOpera = navigator.userAgent.toLowerCase().indexOf( 'opera' ) > -1, 11 isIe = navigator.userAgent.toLowerCase().indexOf( 'msie' ) > -1; 9 var isIe = /(trident|msie)/i.test( navigator.userAgent ); 12 10 13 if ( ( isWebkit || isOpera || isIe )&& document.getElementById && window.addEventListener ) {11 if ( isIe && document.getElementById && window.addEventListener ) { 14 12 window.addEventListener( 'hashchange', function() { 15 13 var id = location.hash.substring( 1 ), -
trunk/src/wp-content/themes/twentyseventeen/style.css
r39129 r39135 329 329 width: auto; 330 330 z-index: 100000; /* Above WP toolbar. */ 331 }332 333 /* Do not show the outline on the skip link target. */334 335 #content[tabindex="-1"]:focus {336 outline: 0;337 331 } 338 332
Note: See TracChangeset
for help on using the changeset viewer.