Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
piphone
piphone-front
Commits
a257961b
Commit
a257961b
authored
Feb 03, 2017
by
okhin
Browse files
Gentle scrolling to the navbar
parent
1f602bf6
Pipeline
#832
passed with stage
in 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
templates/contactslist.html
View file @
a257961b
...
...
@@ -62,6 +62,9 @@ function display_mep(contact) {
.
addClass
(
'
collection-item avatar
'
)
.
click
(
function
()
{
update_mep
(
$
(
this
));
$
(
'
html, body
'
).
animate
({
scrollTop
:
$
(
'
#navbar
'
).
offset
().
top
},
500
);
})
.
attr
(
'
data-json
'
,
JSON
.
stringify
(
contact
));
if
(
contact
[
'
photo
'
]
===
''
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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