diff --git a/djangoproject/static/js/mod/search-key.js b/djangoproject/static/js/mod/search-key.js index a131d22f59..a5f95b9f9f 100644 --- a/djangoproject/static/js/mod/search-key.js +++ b/djangoproject/static/js/mod/search-key.js @@ -12,7 +12,7 @@ define([ $(document).ready(function () { const search_form_input = self.search_form.find('input'); const raw_placeholder = search_form_input.attr('placeholder'); - const shortcut = navigator.userAgent.indexOf("Mac") === -1 ? "⌘ + K" : "Ctrl + K"; + const shortcut = navigator.userAgent.indexOf("Mac") === -1 ? "Ctrl + K" : "⌘ + K"; search_form_input.attr('placeholder', `${raw_placeholder} (${shortcut})`); $(window).keydown(function(e) {