2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Minor refactoring (#34980)

Rename variables and remove a temporary one
This commit is contained in:
XhmikosR
2021-09-15 14:34:24 +03:00
committed by GitHub
parent c5d03d93fc
commit 8f2e678424
2 changed files with 18 additions and 23 deletions
+1 -5
View File
@@ -69,11 +69,7 @@ class FocusTrap {
const { target } = event
const { trapElement } = this._config
if (
target === document ||
target === trapElement ||
trapElement.contains(target)
) {
if (target === document || target === trapElement || trapElement.contains(target)) {
return
}