mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 14:45:35 +00:00
Alter shortlink hotkey - for #58
This commit is contained in:
@@ -174,8 +174,8 @@ export default class Coriolis extends React.Component {
|
||||
this._showModal(<ModalImport />);
|
||||
}
|
||||
break;
|
||||
case 76: // 'l'
|
||||
if (e.ctrlKey || e.metaKey) { // CTRL/CMD + l
|
||||
case 79: // 'o'
|
||||
if (e.ctrlKey || e.metaKey) { // CTRL/CMD + o
|
||||
e.preventDefault();
|
||||
this._showModal(<ModalPermalink url={window.location.href}/>);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user