aboutsummaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
authorGeoSot <[email protected]>2021-12-01 14:53:56 +0200
committerGitHub <[email protected]>2021-12-01 14:53:56 +0200
commit44a6cd724c0a5c5247492fdb8db7d4df4705641e (patch)
tree0efd605f370c3e88dbd3e82a40ab2faca856566d /js/src
parent2fe90d8b1652df283c291f1ab71906e1d8bd105c (diff)
downloadbootstrap-44a6cd724c0a5c5247492fdb8db7d4df4705641e.tar.xz
bootstrap-44a6cd724c0a5c5247492fdb8db7d4df4705641e.zip
Tooltip: remove leftover method (#35440)
Remove a leftover after #32692 Co-authored-by: XhmikosR <[email protected]>
Diffstat (limited to 'js/src')
-rw-r--r--js/src/tooltip.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js
index 29be4d8d2..d0b43dd04 100644
--- a/js/src/tooltip.js
+++ b/js/src/tooltip.js
@@ -398,18 +398,6 @@ class Tooltip extends BaseComponent {
return this._resolvePossibleFunction(this._config.title) || this._element.getAttribute('title')
}
- updateAttachment(attachment) {
- if (attachment === 'right') {
- return 'end'
- }
-
- if (attachment === 'left') {
- return 'start'
- }
-
- return attachment
- }
-
// Private
_initializeOnDelegatedTarget(event, context) {
return context || this.constructor.getOrCreateInstance(event.delegateTarget, this._getDelegateConfig())