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
98a8f9cb
Commit
98a8f9cb
authored
Jun 01, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #77 from MITx/ps-fix-courseware-nav-ios
Fix problem with sequence navigation on iOS
parents
21d161f0
97b83f26
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
static/coffee/src/main.coffee
+2
-0
static/sass/courseware/_sequence-nav.scss
+6
-1
No files found.
static/coffee/src/main.coffee
View file @
98a8f9cb
...
...
@@ -12,6 +12,8 @@ $ ->
window
.
onTouchBasedDevice
=
->
navigator
.
userAgent
.
match
/iPhone|iPod|iPad/i
$
(
'body'
).
addClass
'touch-based-device'
if
onTouchBasedDevice
()
$
(
"a[rel*=leanModal]"
).
leanModal
()
$
(
'#csrfmiddlewaretoken'
).
attr
'value'
,
$
.
cookie
(
'csrftoken'
)
...
...
static/sass/courseware/_sequence-nav.scss
View file @
98a8f9cb
...
...
@@ -123,7 +123,7 @@ nav.sequence-nav {
background-position
:
center
;
}
p
{
p
{
background
:
#333
;
color
:
#fff
;
display
:
none
;
...
...
@@ -231,6 +231,10 @@ nav.sequence-nav {
}
}
}
body
.touch-based-device
&
ol
li
a
:hover
p
{
display
:
none
;
}
}
...
...
@@ -304,3 +308,4 @@ section.course-content {
}
}
}
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