]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Tooltip: simplify popper check
authorGeoSot <geo.sotis@gmail.com>
Sun, 28 Nov 2021 12:18:59 +0000 (14:18 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 1 Dec 2021 16:00:36 +0000 (18:00 +0200)
js/src/tooltip.js

index f03f9ef4d5bd8c53e357105f719b33e3fc2f679e..fc96812b460efc10346ea7be65aae9d490f9e6f7 100644 (file)
@@ -314,7 +314,7 @@ class Tooltip extends BaseComponent {
   }
 
   update() {
-    if (this._popper !== null) {
+    if (this._popper) {
       this._popper.update()
     }
   }