mirror of https://github.com/twbs/bootstrap.git
Merge 28b7134fd4
into 4c98145482
This commit is contained in:
commit
6413dcfbe0
|
@ -108,7 +108,7 @@ class Offcanvas extends BaseComponent {
|
||||||
new ScrollBarHelper().hide()
|
new ScrollBarHelper().hide()
|
||||||
}
|
}
|
||||||
|
|
||||||
this._element.setAttribute('aria-modal', true)
|
this._element.setAttribute('aria-modal', Boolean(this._config.backdrop))
|
||||||
this._element.setAttribute('role', 'dialog')
|
this._element.setAttribute('role', 'dialog')
|
||||||
this._element.classList.add(CLASS_NAME_SHOWING)
|
this._element.classList.add(CLASS_NAME_SHOWING)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue