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:
Andrew Nacin 2014-04-16 03:05:52 +00:00
parent 9720c92028
commit 2d4ea78457

View File

@ -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 );
}
}
});