mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Theme Installer: Properly call router navigation.
props gcorne. see #27055. Built from https://develop.svn.wordpress.org/trunk@28147 git-svn-id: http://core.svn.wordpress.org/trunk@27978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e23f57ec56
commit
f5c0ad0115
@ -1179,7 +1179,7 @@ themes.Router = Backbone.Router.extend({
|
||||
|
||||
navigate: function() {
|
||||
if ( Backbone.history._hasPushState ) {
|
||||
Backbone.Router.navigate.apply( this, arguments );
|
||||
Backbone.Router.prototype.navigate.apply( this, arguments );
|
||||
}
|
||||
}
|
||||
|
||||
@ -1582,7 +1582,7 @@ themes.InstallerRouter = Backbone.Router.extend({
|
||||
|
||||
navigate: function() {
|
||||
if ( Backbone.history._hasPushState ) {
|
||||
Backbone.Router.navigate.apply( this, arguments );
|
||||
Backbone.Router.prototype.navigate.apply( this, arguments );
|
||||
}
|
||||
}
|
||||
});
|
||||
|
2
wp-admin/js/theme.min.js
vendored
2
wp-admin/js/theme.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user