diff --git a/wp-admin/themes.php b/wp-admin/themes.php
index d4bc26b441..cfa629753e 100644
--- a/wp-admin/themes.php
+++ b/wp-admin/themes.php
@@ -227,12 +227,12 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_
<# if ( data.active ) { #>
- <# if ( data.actions['customize'] ) { #>
-
+ <# if ( data.actions.customize ) { #>
+
<# } #>
<# } else { #>
-
-
+
+
<# } #>
@@ -298,7 +298,7 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_
-
+