diff options
| author | Johann-S <[email protected]> | 2018-06-07 21:43:04 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2019-02-20 22:05:45 +0200 |
| commit | 2b780787797da2bed2af0f95963be61e2b8e94a4 (patch) | |
| tree | c5efa177458d3a64b4a072137b6c171ac65bfcfd /js/src/tooltip.js | |
| parent | 7eddee286eb76da4d057a59706e4c512206dab45 (diff) | |
| download | bootstrap-2b780787797da2bed2af0f95963be61e2b8e94a4.tar.xz bootstrap-2b780787797da2bed2af0f95963be61e2b8e94a4.zip | |
fix(data): do not use data object in our unit tests
Diffstat (limited to 'js/src/tooltip.js')
| -rw-r--r-- | js/src/tooltip.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js index 164f6e990..9b8b8263a 100644 --- a/js/src/tooltip.js +++ b/js/src/tooltip.js @@ -741,6 +741,10 @@ class Tooltip { .map((token) => token.trim()) .forEach((tClass) => tip.classList.remove(tClass)) } + + static _getInstance(element) { + return Data.getData(element, DATA_KEY) + } } _handlePopperPlacementChange(popperData) { |
