diff --git a/index.html b/index.html index 7a8876e..274620f 100644 --- a/index.html +++ b/index.html @@ -135,7 +135,7 @@ }; Search.prototype.documentKeydown = function (e) { - if (e.keyCode === 191) { + if (e.key === '/') { e.preventDefault(); e.stopPropagation(); this.triggerSearch(); @@ -1061,7 +1061,7 @@ if (name === 'textarea' || name === 'input' || name === 'select' || target.isContentEditable) { return; } - if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey) { + if (e.altKey || e.ctrlKey || e.metaKey) { return; } if (e.key === 'm' && usesMultipage) { @@ -1083,6 +1083,8 @@ } } else if (e.key === 'u') { document.documentElement.classList.toggle('show-ao-annotations'); + } else if (e.key === '?') { + document.getElementById('shortcuts-help').classList.toggle('active'); } } @@ -1098,8 +1100,11 @@ document.addEventListener( 'keydown', debounce(e => { - if (e.code === 'Escape' && Toolbox.active) { - Toolbox.deactivate(); + if (e.code === 'Escape') { + if (Toolbox.active) { + Toolbox.deactivate(); + } + document.getElementById('shortcuts-help').classList.remove('active'); } }) ); @@ -2359,10 +2364,57 @@ .clause-attributes-tag a { color: #884400; } -
When the groupByToMap
method is called with one or two arguments, the following steps are taken:
The groupByToMap
function is intentionally generic; it does not require that its
The abstract operation AddValueToKeyedGroup takes arguments groups (a
The abstract operation AddValueToKeyedGroup takes arguments groups (a
The initial value of the @@unscopables
This property has the attributes { [[Writable]]:
The own property names of this object are property names that were not included as standard properties of Array.prototype
prior to the ECMAScript 2015 specification. These names are ignored for with
statement binding purposes in order to preserve the behaviour of existing code that might use one of these names as a binding in an outer scope that is shadowed by a with
statement whose binding object is an Array.
The initial value of the @@unscopables data property is an object created by the following steps: