Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: solvespace/solvespace
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a36cf18f189b
Choose a base ref
...
head repository: solvespace/solvespace
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7bad19d7d38a
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on May 21, 2019

  1. Copy the full SHA
    7bad19d View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/platform/html/solvespaceui.js
4 changes: 2 additions & 2 deletions src/platform/html/solvespaceui.js
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ function setLabelWithMnemonic(element, labelText) {
var mnemonic = document.createElement('u');
mnemonic.innerText = matches[2];
label.appendChild(mnemonic);
addClass(element, 'mnemonic-' + matches[2].toLowerCase());
addClass(element, 'mnemonic-Key' + matches[2].toUpperCase());
}
if(matches[3]) {
label.appendChild(document.createTextNode(matches[3]));
@@ -332,7 +332,7 @@ window.addEventListener('keydown', function(event) {
if(event.altKey && event.key == 'Alt') {
addClass(document.body, 'mnemonic');
} else if(!isModal() && event.altKey && (withMnemonic =
document.querySelector('.menubar > .mnemonic-' + event.key))) {
document.querySelector('.menubar > .mnemonic-' + event.code))) {
triggerMenuItem(withMnemonic);
event.stopPropagation();
} else {