Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
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
edx
edx-platform
Commits
c63020f9
Commit
c63020f9
authored
Oct 06, 2017
by
Harry Rein
Committed by
GitHub
Oct 06, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16184 from edx/HarryRein/LEARNER-2784-sock-cleanup
Harry rein/learner 2784 sock cleanup
parents
f534e018
0666ea69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openedx/features/course_experience/static/course_experience/js/CourseSock.js
+2
-2
No files found.
openedx/features/course_experience/static/course_experience/js/CourseSock.js
View file @
c63020f9
...
@@ -24,8 +24,8 @@ export class CourseSock { // eslint-disable-line import/prefer-default-export
...
@@ -24,8 +24,8 @@ export class CourseSock { // eslint-disable-line import/prefer-default-export
const
distRight
=
window
.
outerWidth
-
(
$miniCert
.
offset
().
left
+
$miniCert
.
width
());
const
distRight
=
window
.
outerWidth
-
(
$miniCert
.
offset
().
left
+
$miniCert
.
width
());
// Update positioning when scrolling is in fixed window and screen width is sufficient
// Update positioning when scrolling is in fixed window and screen width is sufficient
if
((
documentBottom
>
startFixed
&&
documentBottom
<
endFixed
)
if
((
documentBottom
>
startFixed
&&
documentBottom
<
endFixed
||
$
(
window
).
width
()
<
960
)
{
&&
$
(
window
).
width
()
>
960
)
)
{
$upgradeToVerifiedButton
.
addClass
(
'attached'
);
$upgradeToVerifiedButton
.
addClass
(
'attached'
);
$upgradeToVerifiedButton
.
css
(
'right'
,
`
${
distRight
}
px`
);
$upgradeToVerifiedButton
.
css
(
'right'
,
`
${
distRight
}
px`
);
}
else
{
}
else
{
...
...
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