tdf#103779: Help menu accessibility, part 3

Change shortcut to Ctrl + Shift + ?
This commit is contained in:
Henry Castro 2017-01-07 08:44:35 -04:00
parent 73cf6f71fb
commit e1b7e53b3a
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@
<tr> <td class="function">Cut</td> <td class="shortcut">Ctrl + X</td> </tr>
<tr> <td class="function">Paste as unformatted text</td> <td class="shortcut">Ctrl + Alt + Shift + V</td> </tr>
<tr> <td class="function">Print (Download as PDF)</td> <td class="shortcut">Ctrl + P</td> </tr>
<tr> <td class="function">Display the Keyboard shortcuts help</td> <td class="shortcut">Ctrl + H</td> </tr>
<tr> <td class="function">Display the Keyboard shortcuts help</td> <td class="shortcut">Ctrl + Shift + ?</td> </tr>
</table>
</div>
<div id="text-shortcuts" style="display: none;">

View file

@ -398,7 +398,7 @@ L.Map.Keyboard = L.Handler.extend({
e.originalEvent.preventDefault();
}
if (e.originalEvent.ctrlKey && (e.originalEvent.key === 'h' || e.originalEvent.key === 'H')) {
if (e.originalEvent.ctrlKey && e.originalEvent.shiftKey && e.originalEvent.key === '?') {
map.showLOKeyboardHelp();
e.originalEvent.preventDefault();
return true;