From 92a430294017ef622ca44b31aeb2ba00b4ab7ab7 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Thu, 5 Oct 2017 04:42:58 +0000 Subject: [PATCH] File Editors: Fix JSHint error after [41774]. See #31779. git-svn-id: https://develop.svn.wordpress.org/trunk@41775 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/js/theme-plugin-editor.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wp-admin/js/theme-plugin-editor.js b/src/wp-admin/js/theme-plugin-editor.js index 24c969fe55..d7a89e0a98 100644 --- a/src/wp-admin/js/theme-plugin-editor.js +++ b/src/wp-admin/js/theme-plugin-editor.js @@ -52,8 +52,7 @@ wp.themePluginEditor = (function( $ ) { $( 'body' ).addClass( 'modal-open' ); component.warning.find( '.file-editor-warning-dismiss' ).focus(); component.warning.on( 'click', '.file-editor-warning-dismiss', component.dismissWarning ); - }; - + } if ( false !== component.codeEditor ) { /*