diff --git a/src/wp-admin/js/theme.js b/src/wp-admin/js/theme.js
index 3a96d1a..0b52328 100644
|
a
|
b
|
themes.Router = Backbone.Router.extend({ |
| 1175 | 1175 | |
| 1176 | 1176 | themes: function() { |
| 1177 | 1177 | $( '.theme-search' ).val( '' ); |
| | 1178 | }, |
| | 1179 | |
| | 1180 | navigate: function() { |
| | 1181 | if ( Backbone.history._hasPushState ) { |
| | 1182 | Backbone.Router.navigate.apply( this, arguments ); |
| | 1183 | } |
| 1178 | 1184 | } |
| 1179 | 1185 | |
| 1180 | 1186 | }); |
| … |
… |
themes.InstallerRouter = Backbone.Router.extend({ |
| 1572 | 1578 | |
| 1573 | 1579 | search: function( query ) { |
| 1574 | 1580 | $( '.theme-search' ).val( query ); |
| | 1581 | }, |
| | 1582 | |
| | 1583 | navigate: function() { |
| | 1584 | if ( Backbone.history._hasPushState ) { |
| | 1585 | Backbone.Router.navigate.apply( this, arguments ); |
| | 1586 | } |
| 1575 | 1587 | } |
| 1576 | 1588 | }); |
| 1577 | 1589 | |