From 990c7c1b81a8e61605fee44eb7aadcfce5cefd77 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Fri, 19 Apr 2013 22:02:24 +0000 Subject: [PATCH] Revisions JS: Fix typo. props westi . fixes #24136. git-svn-id: https://develop.svn.wordpress.org/trunk@24040 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/js/revisions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/js/revisions.js b/wp-admin/js/revisions.js index 801bf89169..9513ce1db1 100644 --- a/wp-admin/js/revisions.js +++ b/wp-admin/js/revisions.js @@ -212,7 +212,7 @@ window.wp = window.wp || {}; var self = this; self.startRightModelLoading(); self.rightHandleRevisions = new Revisions( {}, { - 'compareTo': self.revisions.at( self.leftDiff ).get( 'ID' ) - 1, + 'compareTo': self.revisions.at( self.leftDiff - 1 ).get( 'ID' ), 'showAutosaves': self.autosaves, 'showSplitView': self.showSplitView, 'leftHandleAt': self.leftDiff