Commit 320ef318 authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'tooltip-hide-on-scroll' into 'master'

Hides the tooltip on scroll

See merge request !9653
parents 859a9cd9 0385b161
...@@ -231,6 +231,10 @@ require('es6-promise').polyfill(); ...@@ -231,6 +231,10 @@ require('es6-promise').polyfill();
var bootstrapBreakpoint = bp.getBreakpointSize(); var bootstrapBreakpoint = bp.getBreakpointSize();
var fitSidebarForSize; var fitSidebarForSize;
$(document).on('scroll', function() {
$('.has-tooltip').tooltip('hide');
});
// Set the default path for all cookies to GitLab's root directory // Set the default path for all cookies to GitLab's root directory
Cookies.defaults.path = gon.relative_url_root || '/'; Cookies.defaults.path = gon.relative_url_root || '/';
......
---
title: Fixed tooltip remaining after scrolling the page
merge_request:
author:
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