Revisions: Fix initial state of compareTwoMode.

Merges [30831] to the 4.1 branch.

Fixes #30672.

Built from https://develop.svn.wordpress.org/branches/4.1@30851


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2014-12-14 20:22:23 +00:00
parent bb16b3b284
commit 5a40287f23
2 changed files with 2 additions and 2 deletions

View File

@ -405,7 +405,7 @@ window.wp = window.wp || {};
this.set( {
to : this.revisions.get( state.to ),
from : this.revisions.get( state.from ),
compareTwoMode : this.revisions.get( state.compareTwoMode )
compareTwoMode : state.compareTwoMode
} );
// Start the router if browser supports History API

File diff suppressed because one or more lines are too long