From 3095f5af6b42b3ca72a92abe00d144f440a0b33d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 4 Apr 2013 20:58:33 +0000 Subject: [PATCH] Use correct id attribute. props ocean90. fixes #23937. git-svn-id: https://develop.svn.wordpress.org/trunk@23909 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 1379ce46d2..ef38340d22 100644 --- a/wp-admin/js/revisions.js +++ b/wp-admin/js/revisions.js @@ -670,7 +670,7 @@ window.wp = window.wp || {}; }, restore: function() { - document.location = $( '#restore' ).data( 'restoreLink' ); + document.location = $( '#restore-revision' ).data( 'restoreLink' ); } });