]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
tooltip.js: remove variable used once.
authorXhmikosR <xhmikosr@gmail.com>
Fri, 8 May 2020 08:44:01 +0000 (11:44 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Sun, 12 Jul 2020 12:52:25 +0000 (15:52 +0300)
js/src/tooltip.js

index 9469a172544bf8aee570469534eccc11c0fd95ae..d8d92f57d1f60c85d382098688156de99ac4eb02 100644 (file)
@@ -740,8 +740,7 @@ class Tooltip {
   }
 
   _handlePopperPlacementChange(popperData) {
-    const popperInstance = popperData.instance
-    this.tip = popperInstance.popper
+    this.tip = popperData.instance.popper
     this._cleanTipClass()
     this._addAttachmentClass(this._getAttachment(popperData.placement))
   }