Welcome to mirror list, hosted at ThFree Co, Russian Federation.

constants.js « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: defc2cbe27684fc1712d10e9acc34762b97b1e3b (plain)
1
2
3
4
5
6
/* eslint-disable @gitlab/require-i18n-strings */

export const getModifierKey = (removeSuffix = false) => {
  const winKey = `Ctrl${removeSuffix ? '' : '+'}`;
  return window.gl?.client?.isMac ? '⌘' : winKey;
};