Skip to content

Commit

Permalink
Remove hidden alert role attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubmakielkowski committed Jan 19, 2024
1 parent d882740 commit 2d734fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ui/handler/scroll_zoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ class ScrollZoomHandler {

this._alertTimer = setTimeout(() => {
this._alertContainer.classList.remove('mapboxgl-scroll-zoom-blocker-show');
this._alertContainer.setAttribute("role", "null");
this._alertContainer.removeAttribute("role");
}, 200);
}

Expand Down
2 changes: 1 addition & 1 deletion src/ui/handler/touch_pan.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default class TouchPanHandler {

this._alertTimer = setTimeout(() => {
this._alertContainer.classList.remove('mapboxgl-touch-pan-blocker-show');
this._alertContainer.setAttribute("role", "null");
this._alertContainer.removeAttribute("role");
}, 500);
}

Expand Down

0 comments on commit 2d734fc

Please sign in to comment.