debian-mirror-gitlab/app/assets/javascripts/constants.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
215 B
JavaScript
Raw Normal View History

2023-03-17 16:20:25 +05:30
/* eslint-disable @gitlab/require-i18n-strings */
2023-03-04 22:38:38 +05:30
2023-03-17 16:20:25 +05:30
export const getModifierKey = (removeSuffix = false) => {
const winKey = `Ctrl${removeSuffix ? '' : '+'}`;
return window.gl?.client?.isMac ? '⌘' : winKey;
};