Ghost/core/client/app/utils/ctrl-or-cmd.js
2015-03-11 12:37:41 -06:00

4 lines
107 B
JavaScript

var ctrlOrCmd = navigator.userAgent.indexOf('Mac') !== -1 ? 'command' : 'ctrl';
export default ctrlOrCmd;