Tightening security
This commit is contained in:
@@ -1 +1 @@
|
||||
99c6bbb0236daee684251a5f62bbd974
|
||||
0eb34f66d9120fafc023eb90e9144592
|
||||
@@ -280,7 +280,11 @@ class SecretPrompt {
|
||||
document.body.appendChild(overlay);
|
||||
this._overlay = overlay;
|
||||
|
||||
acceptBtn.focus();
|
||||
requestAnimationFrame(() => {
|
||||
overlay.classList.add('is-visible');
|
||||
modal.classList.add('is-visible');
|
||||
acceptBtn.focus();
|
||||
});
|
||||
|
||||
acceptBtn.addEventListener('click', () => {
|
||||
this._close();
|
||||
|
||||
Reference in New Issue
Block a user