mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-29 06:49:06 +02:00
Enable a few eslint-config-xo rules (#34620)
* unicorn/prefer-dom-node-append * unicorn/prefer-dom-node-remove
This commit is contained in:
@@ -102,7 +102,7 @@ class Backdrop {
|
||||
return
|
||||
}
|
||||
|
||||
this._config.rootElement.appendChild(this._getElement())
|
||||
this._config.rootElement.append(this._getElement())
|
||||
|
||||
EventHandler.on(this._getElement(), EVENT_MOUSEDOWN, () => {
|
||||
execute(this._config.clickCallback)
|
||||
|
Reference in New Issue
Block a user