Commit a6bb94a5 authored by Mike Greiling's avatar Mike Greiling

Merge branch 'ab-sidebar' into 'master'

Fix tooltip on issue sidebar

See merge request gitlab-org/gitlab!68614
parents b9a1ede0 6b454c44
......@@ -2,7 +2,7 @@
import $ from 'jquery';
import Cookies from 'js-cookie';
import { hide } from '~/tooltips';
import { hide, fixTitle } from '~/tooltips';
import createFlash from './flash';
import axios from './lib/utils/axios_utils';
import { sprintf, s__, __ } from './locale';
......@@ -75,6 +75,9 @@ Sidebar.prototype.sidebarToggleClicked = function (e, triggered) {
}
$this.attr('data-original-title', tooltipLabel);
$this.attr('title', tooltipLabel);
fixTitle($this);
hide($this);
if (!triggered) {
Cookies.set('collapsed_gutter', $('.right-sidebar').hasClass('right-sidebar-collapsed'));
......
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