diff options
author | GeoSot <geo.sotis@gmail.com> | 2021-11-28 03:46:28 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2021-12-01 19:00:36 +0300 |
commit | 724663b3cdebf436649d250c5ab52cca8f0c9320 (patch) | |
tree | f45167dce68952140291fc50eb2853858b7c43f6 /js | |
parent | 3baeb0a5c12eb1bcea9336c883e8788b9dad68f8 (diff) |
Tooltip: Remove `Data.set` usage for dynamically created tip
This is not used any further, so we were just setting it.
Diffstat (limited to 'js')
-rw-r--r-- | js/src/tooltip.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js index a1e701981d..3027b8f4c6 100644 --- a/js/src/tooltip.js +++ b/js/src/tooltip.js @@ -16,7 +16,6 @@ import { typeCheckConfig } from './util/index' import { DefaultAllowlist } from './util/sanitizer' -import Data from './dom/data' import EventHandler from './dom/event-handler' import Manipulator from './dom/manipulator' import BaseComponent from './base-component' @@ -231,7 +230,6 @@ class Tooltip extends BaseComponent { this._element.setAttribute('aria-describedby', tip.getAttribute('id')) const { container } = this._config - Data.set(tip, this.constructor.DATA_KEY, this) if (!this._element.ownerDocument.documentElement.contains(this.tip)) { container.append(tip) |