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
21204817
Commit
21204817
authored
Mar 27, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
studio - corrected JQ selector for smoothscrolling in-page links
parent
8abba395
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
cms/static/js/base.js
+2
-2
cms/templates/howitworks.html
+3
-3
No files found.
cms/static/js/base.js
View file @
21204817
...
...
@@ -81,7 +81,7 @@ $(document).ready(function () {
});
// general link management - smooth scrolling page links
$
(
'a[rel*="view"]
'
).
bind
(
'click'
,
linkSmoothScroll
);
$
(
'a[rel*="view"]
[href^="#"]'
).
bind
(
'click'
,
smoothScrollLink
);
// toggling overview section details
...
...
@@ -148,7 +148,7 @@ $(document).ready(function () {
});
});
function
linkSmoothScroll
(
e
)
{
function
smoothScrollLink
(
e
)
{
(
e
).
preventDefault
();
$
.
smoothScroll
({
...
...
cms/templates/howitworks.html
View file @
21204817
...
...
@@ -151,7 +151,7 @@
<figcaption
class=
"description"
>
Simple two-level outline to organize your couse. Drag and drop, and see your course at a glance.
</figcaption>
</figure>
<a
href=
"
#
"
rel=
"view"
class=
"action action-modal-close"
>
<a
href=
""
rel=
"view"
class=
"action action-modal-close"
>
<i
class=
"ss-icon ss-symbolicons-block icon icon-close"
>
␡
</i>
<span
class=
"label"
>
close modal
</span>
</a>
...
...
@@ -164,7 +164,7 @@
<figcaption
class=
"description"
>
Quickly create videos, text snippets, inline discussions, and a variety of problem types.
</figcaption>
</figure>
<a
href=
"
#
"
rel=
"view"
class=
"action action-modal-close"
>
<a
href=
""
rel=
"view"
class=
"action action-modal-close"
>
<i
class=
"ss-icon ss-symbolicons-block icon icon-close"
>
␡
</i>
<span
class=
"label"
>
close modal
</span>
</a>
...
...
@@ -177,7 +177,7 @@
<figcaption
class=
"description"
>
Simply set the date of a section or subsection, and Studio will publish it to your students for you.
</figcaption>
</figure>
<a
href=
"
#
"
rel=
"view"
class=
"action action-modal-close"
>
<a
href=
""
rel=
"view"
class=
"action action-modal-close"
>
<i
class=
"ss-icon ss-symbolicons-block icon icon-close"
>
␡
</i>
<span
class=
"label"
>
close modal
</span>
</a>
...
...
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