Skip to content

Commit

Permalink
[BUILD]
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Oct 11, 2024
1 parent 0ae4a55 commit 823ab01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions dist/ol-ext.js
Original file line number Diff line number Diff line change
Expand Up @@ -7967,6 +7967,7 @@ ol.control.Dialog = class olcontrolDialog extends ol.control.Control {
this.setContent(options);
}
this.element.classList.add('ol-visible');
this.element.setAttribute('aria-hidden', false);
var input = this.element.querySelector('input[type="text"],input[type="search"],input[type="number"]');
if (input)
input.focus();
Expand Down Expand Up @@ -8152,6 +8153,7 @@ ol.control.Dialog = class olcontrolDialog extends ol.control.Control {
*/
hide() {
this.element.classList.remove('ol-visible');
this.element.setAttribute('aria-hidden', true)
this.dispatchEvent({ type: 'hide' });
}
/** Close the dialog
Expand Down
2 changes: 1 addition & 1 deletion dist/ol-ext.min.js

Large diffs are not rendered by default.

0 comments on commit 823ab01

Please sign in to comment.