Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jquery-listentryinfo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kjetil Thuen
jquery-listentryinfo
Commits
a1c0379d
Commit
a1c0379d
authored
Jul 03, 2013
by
Kjetil Thuen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More IOS debouncing
parent
36a05312
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
listPeek.js
listPeek.js
+2
-2
No files found.
listPeek.js
View file @
a1c0379d
...
...
@@ -38,7 +38,6 @@ var register_event_handlers = function() {
jQuery
(
window
).
bind
(
'
scrollstop
'
,
function
(
e
){
if
(
scrollInProgress
)
{
scrollInProgress
=
false
;
console
.
log
(
"
scrollstop
"
);
find_and_select_element
();
}
...
...
@@ -68,6 +67,7 @@ var show_expanded_info = function() {
$
(
'
#expander div.abstract
'
).
html
(
details
);
$
(
'
#expander
'
).
slideDown
(
'
fast
'
,
function
()
{
scrollListenersEnabled
=
true
;
scrollInProgress
=
false
;
});
}
});
...
...
@@ -95,7 +95,7 @@ var set_selected_element = function (element) {
scrollVal
=
listElem
.
offset
().
top
-
$
(
'
#studies_list
'
).
position
().
top
;
console
.
log
(
"
Debouncing expand function
"
);
debounce
(
show_expanded_info
,
2
00
,
false
)();
debounce
(
show_expanded_info
,
5
00
,
false
)();
}
else
{
console
.
log
(
"
Not a list element, hiding
"
);
$
(
'
#expander
'
).
hide
();
...
...
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