Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoSot <geo.sotis@gmail.com>2021-11-28 15:18:59 +0300
committerXhmikosR <xhmikosr@gmail.com>2021-12-01 19:00:36 +0300
commit1f7b83203d893ba674f6a0c54481e84378276a19 (patch)
tree5f5aac60744da9103e97e5ecb4f7026b569563fe
parent9b9372e8ddd60413f3d9a582bd5481586d119d8d (diff)
Tooltip: simplify popper check
-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 f03f9ef4d5..fc96812b46 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()
}
}