mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Theme Installer: Properly call router navigation.
props gcorne. see #27055. git-svn-id: https://develop.svn.wordpress.org/trunk@28147 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9720c92028
commit
2d4ea78457
@ -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 );
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user