2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Enable a few eslint-config-xo rules (#34620)

* unicorn/prefer-dom-node-append
* unicorn/prefer-dom-node-remove
This commit is contained in:
XhmikosR
2021-07-30 01:23:00 +03:00
committed by GitHub
parent 2bf32ad180
commit 6d707f4801
14 changed files with 25 additions and 28 deletions
+1 -1
View File
@@ -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)