Changeset 28598
- Timestamp:
- 05/28/2014 01:35:47 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/js/functions.js
r27627 r28598 41 41 */ 42 42 _window.on( 'hashchange.twentyfourteen', function() { 43 var element = document.getElementById( location.hash.substring( 1 ) ); 43 var hash = location.hash.substring( 1 ), element; 44 45 if ( ! hash ) { 46 return; 47 } 48 49 element = document.getElementById( hash ); 44 50 45 51 if ( element ) {
Note: See TracChangeset
for help on using the changeset viewer.