Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel CAZAL
co2
Commits
bd724c2a
Commit
bd724c2a
authored
Jan 30, 2019
by
Tibor Katelbach
Browse files
remove scroll down on vote
parent
ee38ba9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
assets/js/default/directory.js
View file @
bd724c2a
...
...
@@ -695,9 +695,9 @@ function initPageTable(number){
mylog
.
log
(
"
.openCoopPanelHtml vote
"
);
afterLoad
=
function
()
{
setTimeout
(
function
(){
$
(
"
#coop-container
"
).
animate
({
scrollTop
:
$
(
"
#podVote
"
).
offset
().
top
},
1000
);
//
$("#coop-container").animate({
//
scrollTop: $("#podVote").offset().top
//
}, 1000);
},
1000
);
};
}
...
...
@@ -753,6 +753,7 @@ function initPageTable(number){
mylog
.
log
(
"
send vote
"
,
voteValue
);
uiCoop
.
sendVote
(
"
proposal
"
,
idParentProposal
,
voteValue
,
idParentRoom
,
null
,
true
);
});
}
function
initBtnShare
(){
...
...
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