Commit 631fbab7 authored by jerasmus's avatar jerasmus

Replace BSTooltip with GlTooltip

Replaced the BSTooltip with GlTooltip
parent 79de9f65
import $ from 'jquery';
import Vue from 'vue'; import Vue from 'vue';
import { GlButton, GlTooltipDirective } from '@gitlab/ui'; import { GlButton, GlTooltipDirective } from '@gitlab/ui';
import { __ } from '~/locale'; import { __ } from '~/locale';
import { hide } from '~/tooltips';
export default Vue.extend({ export default Vue.extend({
components: { components: {
...@@ -19,7 +19,7 @@ export default Vue.extend({ ...@@ -19,7 +19,7 @@ export default Vue.extend({
}, },
methods: { methods: {
deleteBoard() { deleteBoard() {
$(this.$el).tooltip('hide'); hide(this.$el);
// eslint-disable-next-line no-alert // eslint-disable-next-line no-alert
if (window.confirm(__('Are you sure you want to delete this list?'))) { if (window.confirm(__('Are you sure you want to delete this list?'))) {
......
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