Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
320ef318
Commit
320ef318
authored
Mar 03, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'tooltip-hide-on-scroll' into 'master'
Hides the tooltip on scroll See merge request !9653
parents
859a9cd9
0385b161
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
app/assets/javascripts/application.js
app/assets/javascripts/application.js
+4
-0
changelogs/unreleased/tooltip-hide-on-scroll.yml
changelogs/unreleased/tooltip-hide-on-scroll.yml
+4
-0
No files found.
app/assets/javascripts/application.js
View file @
320ef318
...
@@ -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
||
'
/
'
;
...
...
changelogs/unreleased/tooltip-hide-on-scroll.yml
0 → 100644
View file @
320ef318
---
title
:
Fixed tooltip remaining after scrolling the page
merge_request
:
author
:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment