Ticket #48866: 48866.1.diff
| File 48866.1.diff, 977 bytes (added by , 7 years ago) |
|---|
-
src/wp-content/themes/twentytwenty/assets/js/index.js
341 341 var anchorElements = document.querySelectorAll( 'a[href*="#"]' ); 342 342 var anchorElementsList = Array.prototype.slice.call( anchorElements ); 343 343 anchorElementsList.filter( function( element ) { 344 if ( element.href === '#' || element.href === '#0' || element.id === 'cancel-comment-reply-link' || element.classList.contains( 'do-not-scroll' ) || element.classList.contains( 'skip-link' ) ) {344 if ( element.href === '#' || element.href === '#0' || element.id === 'cancel-comment-reply-link' || element.classList.contains( 'do-not-scroll' ) || element.classList.contains( 'skip-link' ) || -1 !== element.href.search( '#comments' ) ) { 345 345 return false; 346 346 } 347 347 return true;
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)