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:
Andrew Nacin 2014-04-16 03:06:16 +00:00
parent e23f57ec56
commit f5c0ad0115
2 changed files with 3 additions and 3 deletions

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

File diff suppressed because one or more lines are too long