From 1f7b83203d893ba674f6a0c54481e84378276a19 Mon Sep 17 00:00:00 2001 From: GeoSot Date: Sun, 28 Nov 2021 14:18:59 +0200 Subject: [PATCH] Tooltip: simplify popper check --- js/src/tooltip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() } }