mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-20 01:03:23 +03:00
777d945f03
closes #4414 - adds `ctrl/cmd+s` shortcuts to `settings/general` screen - adds `ctrl/cmd+s` shortcuts to `settings/user/xx` screen - extracts `ctrlOrCmd` variable to separate module for reuse
4 lines
107 B
JavaScript
4 lines
107 B
JavaScript
var ctrlOrCmd = navigator.userAgent.indexOf('Mac') !== -1 ? 'command' : 'ctrl';
|
|
|
|
export default ctrlOrCmd;
|