Commit c477feae authored by Enrique Alcántara's avatar Enrique Alcántara

Merge branch...

Merge branch '249785-replace-bstooltip-with-gltooltip-in-app-assets-javascripts-boards-toggle_focus-js' into 'master'

Replace BSTooltip with GlTooltip in app/assets/javascripts/boards/toggle_focus.js

See merge request gitlab-org/gitlab!45666
parents e9cb65ed d133723d
import $ from 'jquery';
import Vue from 'vue';
import { GlIcon } from '@gitlab/ui';
import { hide } from '~/tooltips';
export default (ModalStore, boardsStore) => {
const issueBoardsContent = document.querySelector('.content-wrapper > .js-focus-mode-board');
......@@ -17,7 +18,9 @@ export default (ModalStore, boardsStore) => {
},
methods: {
toggleFocusMode() {
$(this.$refs.toggleFocusModeButton).tooltip('hide');
const $el = $(this.$refs.toggleFocusModeButton);
hide($el);
issueBoardsContent.classList.toggle('is-focused');
this.isFullscreen = !this.isFullscreen;
......
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