diff --git a/core/modules/system/system.module b/core/modules/system/system.module index a6bad1d362a..c0b0f028885 100644 --- a/core/modules/system/system.module +++ b/core/modules/system/system.module @@ -1088,7 +1088,7 @@ function system_library_info() { 'title' => 'Drupal autocomplete', 'version' => \Drupal::VERSION, 'js' => array( - 'core/misc/autocomplete.js' => array('group' => JS_DEFAULT), + 'core/misc/autocomplete.js' => array('group' => JS_LIBRARY, 'weight' => -1), ), 'dependencies' => array( array('system', 'jquery'),