Merge branch 'master' of github.com:MITx/mitx
This commit is contained in:
@@ -50,7 +50,7 @@ if Backbone?
|
||||
|
||||
convertMath: ->
|
||||
element = @$(".post-body")
|
||||
element.html DiscussionUtil.postMathJaxProcessor DiscussionUtil.markdownWithHighlight element.html()
|
||||
element.html DiscussionUtil.postMathJaxProcessor DiscussionUtil.markdownWithHighlight element.text()
|
||||
MathJax.Hub.Queue ["Typeset", MathJax.Hub, element[0]]
|
||||
|
||||
renderResponses: ->
|
||||
|
||||
@@ -47,7 +47,7 @@ if Backbone?
|
||||
|
||||
convertMath: ->
|
||||
element = @$(".post-body")
|
||||
element.html DiscussionUtil.postMathJaxProcessor DiscussionUtil.markdownWithHighlight element.html()
|
||||
element.html DiscussionUtil.postMathJaxProcessor DiscussionUtil.markdownWithHighlight element.text()
|
||||
MathJax.Hub.Queue ["Typeset", MathJax.Hub, element[0]]
|
||||
|
||||
toggleVote: (event) ->
|
||||
|
||||
@@ -26,7 +26,7 @@ if Backbone?
|
||||
|
||||
convertMath: ->
|
||||
body = @$el.find(".response-body")
|
||||
body.html DiscussionUtil.postMathJaxProcessor DiscussionUtil.markdownWithHighlight body.html()
|
||||
body.html DiscussionUtil.postMathJaxProcessor DiscussionUtil.markdownWithHighlight body.text()
|
||||
MathJax.Hub.Queue ["Typeset", MathJax.Hub, body[0]]
|
||||
|
||||
markAsStaff: ->
|
||||
|
||||
@@ -30,7 +30,7 @@ if Backbone?
|
||||
|
||||
convertMath: ->
|
||||
element = @$(".response-body")
|
||||
element.html DiscussionUtil.postMathJaxProcessor DiscussionUtil.markdownWithHighlight element.html()
|
||||
element.html DiscussionUtil.postMathJaxProcessor DiscussionUtil.markdownWithHighlight element.text()
|
||||
MathJax.Hub.Queue ["Typeset", MathJax.Hub, element[0]]
|
||||
|
||||
markAsStaff: ->
|
||||
|
||||
@@ -67,7 +67,7 @@ section.course-index {
|
||||
}
|
||||
|
||||
.chapter {
|
||||
width: 100%;
|
||||
width: 100% !important;
|
||||
@include box-sizing(border-box);
|
||||
padding: 11px 14px;
|
||||
@include linear-gradient(top, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0));
|
||||
@@ -99,6 +99,8 @@ section.course-index {
|
||||
@include border-radius(0);
|
||||
margin: 0;
|
||||
padding: 9px 0 9px 9px;
|
||||
overflow: auto;
|
||||
width: 100%;
|
||||
|
||||
li {
|
||||
border-bottom: 0;
|
||||
|
||||
Reference in New Issue
Block a user