reverted: --- b/modules/quickedit/quickedit.module +++ a/modules/quickedit/quickedit.module @@ -75,10 +75,6 @@ function quickedit_library_info_alter(&$libraries, $extension) { if ($extension === 'quickedit' && isset($libraries['quickedit'])) { $theme = Drupal::config('system.theme')->get('admin'); - // If the admin theme is the default theme, look up and use the default value. - if($theme == 0) { - $theme = Drupal::config('system.theme')->get('default'); - } // First let the base theme modify the library, then the actual theme. $alter_library = function (&$library, $theme) use (&$alter_library) { only in patch2: unchanged: --- a/core/modules/quickedit/quickedit.module +++ b/core/modules/quickedit/quickedit.module @@ -75,6 +75,10 @@ function quickedit_page_attachments(array &$page) { function quickedit_library_info_alter(&$libraries, $extension) { if ($extension === 'quickedit' && isset($libraries['quickedit'])) { $theme = Drupal::config('system.theme')->get('admin'); + // If the admin theme is the default theme, look up and use the default value. + if ($theme == 0 || $theme == '') { + $theme = Drupal::config('system.theme')->get('default'); + } // First let the base theme modify the library, then the actual theme. $alter_library = function (&$library, $theme) use (&$alter_library) {