Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
dsk-cr20g
Commits
8841ee59
Commit
8841ee59
authored
Jul 12, 2023
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
0d43eb54
2c12f5f5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
jskplug.js
dsk-operate-ui/src/assets/js/jskplug.js
+2
-1
No files found.
dsk-operate-ui/src/assets/js/jskplug.js
View file @
8841ee59
...
@@ -58,7 +58,8 @@ const scrolling = function (iframeId, navHeight, parentId){
...
@@ -58,7 +58,8 @@ const scrolling = function (iframeId, navHeight, parentId){
if
(
scrollTop
<
navHeight
){
if
(
scrollTop
<
navHeight
){
scrollTop
=
scrollTop
+
navHeight
scrollTop
=
scrollTop
+
navHeight
}
}
ifa
.
contentWindow
.
postMessage
({
'scrollTop'
:
scrollTop
},
'*'
)
let
bodyHeight
=
document
.
body
.
clientHeight
-
navHeight
ifa
.
contentWindow
.
postMessage
({
'scrollTop'
:
scrollTop
,
'bodyHeight'
:
bodyHeight
},
'*'
)
}
}
export
{
export
{
...
...
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