mirror of
https://github.com/jech/galene.git
synced 2024-11-22 16:45:58 +01:00
Assume browsers support showModal.
This commit is contained in:
parent
1315084185
commit
b925bae5de
1 changed files with 1 additions and 1 deletions
|
@ -2163,7 +2163,7 @@ function inviteMenu() {
|
||||||
let d = /** @type {HTMLDialogElement} */
|
let d = /** @type {HTMLDialogElement} */
|
||||||
(document.getElementById('invite-dialog'));
|
(document.getElementById('invite-dialog'));
|
||||||
if(!('HTMLDialogElement' in window) || !d.showModal) {
|
if(!('HTMLDialogElement' in window) || !d.showModal) {
|
||||||
makeToken();
|
displayError("This browser doesn't support modal dialogs");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
d.returnValue = '';
|
d.returnValue = '';
|
||||||
|
|
Loading…
Reference in a new issue