Commit 2f4d04ec authored by Vasilii Iakliushin's avatar Vasilii Iakliushin Committed by Enrique Alcantara

Replace BSTooltip with GlTooltip

Closes https://gitlab.com/gitlab-org/gitlab/-/issues/249788

It replaces $el.tooltip('_fixTitle') -> fixTitle($el) to migrate a
Bootstrap tooltip API call to the GlTooltip API.
parent 56168614
......@@ -3,6 +3,7 @@ import { __ } from '~/locale';
import DirtyFormChecker from './dirty_form_checker';
import setupToggleButtons from '~/toggle_buttons';
import { parseBoolean } from '~/lib/utils/common_utils';
import { fixTitle } from '~/tooltips';
const CALLOUT_SELECTOR = '.js-callout';
const HELPER_SELECTOR = '.js-helper-text';
......@@ -139,6 +140,7 @@ export default class SamlSettingsForm {
// Update tooltip using wrapper so it works when input disabled
this.testButtonTooltipWrapper.setAttribute('title', this.testButtonTooltip());
$(this.testButtonTooltipWrapper).tooltip('_fixTitle');
fixTitle($(this.testButtonTooltipWrapper));
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment