diff --git a/src/wp-admin/js/customize-controls.js b/src/wp-admin/js/customize-controls.js index c80ef86e52..58f9cb07ac 100644 --- a/src/wp-admin/js/customize-controls.js +++ b/src/wp-admin/js/customize-controls.js @@ -3781,11 +3781,6 @@ control.editor = wp.codeEditor.initialize( $textarea, settings ); - // Refresh when receiving focus. - control.editor.codemirror.on( 'focus', function( codemirror ) { - codemirror.refresh(); - }); - /* * When the CodeMirror instance changes, mirror to the textarea, * where we have our "true" change event handler bound.