Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
b5da7f14
Commit
b5da7f14
authored
Mar 12, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
too much delay on scrollTop causes flickering - reduced to 100
parent
6c72b76a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
debomatic-webui/public/javascripts/page_distribution.js
debomatic-webui/public/javascripts/page_distribution.js
+2
-2
No files found.
debomatic-webui/public/javascripts/page_distribution.js
View file @
b5da7f14
...
@@ -214,7 +214,7 @@ function Page_Distrubion(socket)
...
@@ -214,7 +214,7 @@ function Page_Distrubion(socket)
sticky
.
start
()
sticky
.
start
()
// onclic - back on top and disable auto-scroll
// onclic - back on top and disable auto-scroll
$
(
"
#sticky-view
"
).
on
(
"
click
"
,
function
(){
$
(
"
#sticky-view
"
).
on
(
"
click
"
,
function
(){
$
(
'
html
'
).
animate
({
scrollTop
:
0
},
25
0
);
$
(
'
html
'
).
animate
({
scrollTop
:
0
},
10
0
);
})
})
},
},
stop
:
function
()
{
stop
:
function
()
{
...
@@ -374,7 +374,7 @@ function Page_Distrubion(socket)
...
@@ -374,7 +374,7 @@ function Page_Distrubion(socket)
// events. Sleep a while and call stiky.reset()
// events. Sleep a while and call stiky.reset()
this
.
setTimeout
(
sticky
.
reset
,
500
);
this
.
setTimeout
(
sticky
.
reset
,
500
);
// WORKAOUND:
// WORKA
R
OUND:
// On incoming hundred of lines browser goes crazy.
// On incoming hundred of lines browser goes crazy.
// Append lines only on a timeout.
// Append lines only on a timeout.
function
watch_for_new_lines
()
{
function
watch_for_new_lines
()
{
...
...
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