diff --git a/edit/edit.js b/edit/edit.js index 45c6b555..8e62f9c6 100644 --- a/edit/edit.js +++ b/edit/edit.js @@ -583,10 +583,8 @@ function showHelp(title = '', body) { window.dispatchEvent(new Event('closeHelp')); }); - if (getComputedStyle(div).display === 'none') { - window.addEventListener('keydown', showHelp.close, true); - $('.dismiss', div).onclick = showHelp.close; - } + window.addEventListener('keydown', showHelp.close, true); + $('.dismiss', div).onclick = showHelp.close; // reset any inline styles div.style = 'display: block';