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
9137bb54
Commit
9137bb54
authored
Sep 11, 2014
by
stv
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #121
from stvstnfrd:discuss/xss into Stanford-Online:master
parents
632ef253
94be6cf8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
common/static/coffee/src/discussion/views/discussion_thread_view_inline.coffee
+2
-2
No files found.
common/static/coffee/src/discussion/views/discussion_thread_view_inline.coffee
View file @
9137bb54
...
...
@@ -45,7 +45,7 @@ if Backbone?
expandPost
:
(
event
)
=>
@
$el
.
addClass
(
'expanded'
)
@
$el
.
find
(
'.post-body'
).
html
(
@
model
.
get
(
'body'
))
@
$el
.
find
(
'.post-body'
).
text
(
@
model
.
get
(
'body'
))
@
showView
.
convertMath
()
@
$el
.
find
(
'.expand-post'
).
css
(
'display'
,
'none'
)
@
$el
.
find
(
'.collapse-post'
).
css
(
'display'
,
'block'
)
...
...
@@ -60,7 +60,7 @@ if Backbone?
if
postTop
<
curScroll
$
(
'html, body'
).
animate
({
scrollTop
:
postTop
})
@
$el
.
removeClass
(
'expanded'
)
@
$el
.
find
(
'.post-body'
).
html
(
@
model
.
get
(
'abbreviatedBody'
))
@
$el
.
find
(
'.post-body'
).
text
(
@
model
.
get
(
'abbreviatedBody'
))
@
showView
.
convertMath
()
@
$el
.
find
(
'.expand-post'
).
css
(
'display'
,
'block'
)
@
$el
.
find
(
'.collapse-post'
).
css
(
'display'
,
'none'
)
...
...
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