Skip to content

Commit

Permalink
Merge pull request #1 from TiGR/patch-1
Browse files Browse the repository at this point in the history
Fix opening dialogs through open attribute
  • Loading branch information
nuxodin authored Oct 4, 2024
2 parents 56a1da4 + 132229b commit 78ef885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ if (!window.HTMLDialogElement) {
return this.hasAttribute('open');
},
set(value){
value ? this.open() : this.close();
value ? this.show() : this.close();
}
})

Expand Down

0 comments on commit 78ef885

Please sign in to comment.