mirror of
https://github.com/zotero/zotero.git
synced 2026-09-12 23:01:22 +00:00
Do not register the menu access key handlers multiple times
This commit is contained in:
parent
fc5aa1a6ba
commit
88482bd776
1 changed files with 2 additions and 1 deletions
|
|
@ -42,7 +42,8 @@ else {
|
|||
document.addEventListener('DOMContentLoaded', init);
|
||||
}
|
||||
|
||||
function init() {
|
||||
function init(event) {
|
||||
if (event.target !== document) return;
|
||||
setAccessKeysHidden(true);
|
||||
|
||||
menuBar = document.querySelector("#main-menubar");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue