a9cb2efe8c
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;
|