aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorGeoSot <[email protected]>2021-11-28 14:18:59 +0200
committerXhmikosR <[email protected]>2021-12-01 18:00:36 +0200
commit1f7b83203d893ba674f6a0c54481e84378276a19 (patch)
tree5f5aac60744da9103e97e5ecb4f7026b569563fe /js
parent9b9372e8ddd60413f3d9a582bd5481586d119d8d (diff)
downloadbootstrap-1f7b83203d893ba674f6a0c54481e84378276a19.tar.xz
bootstrap-1f7b83203d893ba674f6a0c54481e84378276a19.zip
Tooltip: simplify popper check
Diffstat (limited to 'js')
-rw-r--r--js/src/tooltip.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js
index f03f9ef4d..fc96812b4 100644
--- a/js/src/tooltip.js
+++ b/js/src/tooltip.js
@@ -314,7 +314,7 @@ class Tooltip extends BaseComponent {
}
update() {
- if (this._popper !== null) {
+ if (this._popper) {
this._popper.update()
}
}