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
be18f9e9
Commit
be18f9e9
authored
Dec 15, 2016
by
Brian Jacobel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do a little cleanup of this coffee file before conversion
parent
e98aeda2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
common/lib/xmodule/xmodule/js/src/sequence/display.js
+11
-11
No files found.
common/lib/xmodule/xmodule/js/src/sequence/display.js
View file @
be18f9e9
...
...
@@ -125,22 +125,22 @@ class @Sequence
is_first_tab
=
@
position
==
1
previous_button_class
=
'.sequence-nav-button.button-previous'
@
updateButtonState
(
previous_button_class
,
#
bound
element
@
selectPrevious
,
#
action
'Previous'
,
#
label
prefix
is_first_tab
,
#
is
boundary
?
@
prevUrl
#
boundary_url
previous_button_class
,
@
selectPrevious
,
'Previous'
,
is_first_tab
,
@
prevUrl
)
#
next
button
is_last_tab
=
@
position
>=
@
contents
.
length
#
use
inequality
in
case
contents
.
length
is
0
and
position
is
1
.
next_button_class
=
'.sequence-nav-button.button-next'
@
updateButtonState
(
next_button_class
,
#
bound
element
@
selectNext
,
#
action
'Next'
,
#
label
prefix
is_last_tab
,
#
is
boundary
?
@
nextUrl
#
boundary_url
next_button_class
,
@
selectNext
,
'Next'
,
is_last_tab
,
@
nextUrl
)
render
:
(
new_position
)
->
...
...
@@ -252,7 +252,7 @@ class @Sequence
window
.
location
.
href
=
@
prevUrl
else
#
If
the
bottom
nav
is
used
,
scroll
to
the
top
of
the
page
on
change
.
if
is_bottom_nav
if
is_bottom_nav
$
.
scrollTo
0
,
150
offset
=
next
:
1
...
...
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