diff --git a/core/misc/autocomplete.js b/core/misc/autocomplete.js
index 032a15ca310bdbb5d6ffe1c1a896364414d910d2..254e7e50963bac6bcd586b4fb15444571b3d8513 100644
--- a/core/misc/autocomplete.js
+++ b/core/misc/autocomplete.js
@@ -222,7 +222,7 @@
         });
         // Use jQuery UI Autocomplete on the textfield.
         $autocomplete.autocomplete(autocomplete.options)
-          .each(function() {
+          .each(function () {
             $(this).data('ui-autocomplete')._renderItem = autocomplete.options.renderItem;
           });
       }