Commit ac97425b authored by Vasilii Iakliushin's avatar Vasilii Iakliushin

Replace BSTooltip with GlTooltip

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

Replace: $el.tooltip('_fixTitle') -> fixTitle($el)
parent a32f5726
......@@ -5,6 +5,7 @@ import { handleLocationHash } from '../../lib/utils/common_utils';
import axios from '../../lib/utils/axios_utils';
import eventHub from '../../notes/event_hub';
import { __ } from '~/locale';
import { fixTitle } from '~/tooltips';
const loadRichBlobViewer = type => {
switch (type) {
......@@ -124,7 +125,7 @@ export default class BlobViewer {
this.copySourceBtn.classList.add('disabled');
}
$(this.copySourceBtn).tooltip('_fixTitle');
fixTitle($(this.copySourceBtn));
}
switchToViewer(name) {
......
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