Changeset 38154
- Timestamp:
- 07/26/2016 08:00:29 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/updates.js
r38119 r38154 2057 2057 } 2058 2058 2059 if ( window.history && window.history. pushState ) {2060 window.history. pushState( null, '', searchLocation );2059 if ( window.history && window.history.replaceState ) { 2060 window.history.replaceState( null, '', searchLocation ); 2061 2061 } 2062 2062 … … 2124 2124 } 2125 2125 2126 if ( window.history && window.history. pushState ) {2127 window.history. pushState( null, '', location.href.split( '?' )[ 0 ] + '?s=' + data.s );2126 if ( window.history && window.history.replaceState ) { 2127 window.history.replaceState( null, '', location.href.split( '?' )[ 0 ] + '?s=' + data.s ); 2128 2128 } 2129 2129
Note: See TracChangeset
for help on using the changeset viewer.