Use correct class. see #23933.

git-svn-id: http://core.svn.wordpress.org/trunk@23915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-04-05 00:20:19 +00:00
parent f7e2bb59d6
commit c7dabe0e5d
1 changed files with 2 additions and 2 deletions

View File

@ -314,9 +314,9 @@ window.wp = window.wp || {};
}
if ( 0 === Diff.leftDiff ) {
$( '#revision-diff-container' ).addClass( 'currentversion' );
$( '#revision-diff-container' ).addClass( 'current-version' );
} else {
$( '#revision-diff-container' ).removeClass( 'currentversion' );
$( '#revision-diff-container' ).removeClass( 'current-version' );
}
Diff.revisionView.render();