wp/wp-admin/js/image-edit.js
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
--- a/wp/wp-admin/js/image-edit.js	Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-admin/js/image-edit.js	Tue Sep 27 16:37:53 2022 +0200
@@ -893,7 +893,7 @@
 			pop = this.intval( $('#imgedit-undone-' + postid).val() );
 
 		if ( pop < history.length ) {
-			if ( confirm( $('#imgedit-leaving-' + postid).html() ) ) {
+			if ( confirm( $('#imgedit-leaving-' + postid).text() ) ) {
 				return false;
 			}
 			return true;