mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 15:15:34 +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}/>);
|
||||
}
|
||||
|
||||
@@ -291,7 +291,7 @@ The damage received panel provides information about the effectiveness of your b
|
||||
<dt>Ctrl-e</dt><dd>open export dialogue (outfitting page only)</dd>
|
||||
<dt>Ctrl-h</dt><dd>open help dialogue</dd>
|
||||
<dt>Ctrl-i</dt><dd>open import dialogue</dd>
|
||||
<dt>Ctrl-l</dt><dd>open shortlink dialogue</dd>
|
||||
<dt>Ctrl-o</dt><dd>open shortlink dialogue</dd>
|
||||
<dt>Esc</dt><dd>close any open dialogue</dd>
|
||||
</dl>
|
||||
<h1>Glossary</h1>
|
||||
|
||||
Reference in New Issue
Block a user