Commit 0700f56d by Valera Rozuvan

Fix for correct module class name. Removed gray underline from wrapper for wrapperModule.

parent 863dae7e
.vert-mod > li {
border-bottom: none;
margin-bottom: 0px;
padding: 0 0 0px; }
...@@ -123,8 +123,8 @@ PollMain.prototype = { ...@@ -123,8 +123,8 @@ PollMain.prototype = {
function (response) { function (response) {
_this.showAnswerGraph(response.poll_answers, response.total); _this.showAnswerGraph(response.poll_answers, response.total);
if (_this.verticalSectionEl !== null) { if (_this.wrapperSectionEl !== null) {
$(_this.verticalSectionEl).find('.xmodule_ConditionalModule').each(function (index, value) { $(_this.wrapperSectionEl).find('.xmodule_ConditionalModule').each(function (index, value) {
new window.Conditional(value); new window.Conditional(value);
}); });
} }
...@@ -222,7 +222,7 @@ function PollMain(el) { ...@@ -222,7 +222,7 @@ function PollMain(el) {
// DOM element which contains the current poll along with any conditionals. By default we assume that such // DOM element which contains the current poll along with any conditionals. By default we assume that such
// element is not present. We will try to find it. // element is not present. We will try to find it.
this.verticalSectionEl = null; this.wrapperSectionEl = null;
(function (tempEl, c1) { (function (tempEl, c1) {
while (tempEl.tagName.toLowerCase() !== 'body') { while (tempEl.tagName.toLowerCase() !== 'body') {
...@@ -231,9 +231,9 @@ function PollMain(el) { ...@@ -231,9 +231,9 @@ function PollMain(el) {
if ( if (
(tempEl.tagName.toLowerCase() === 'section') && (tempEl.tagName.toLowerCase() === 'section') &&
($(tempEl).hasClass('xmodule_VerticalModule') === true) ($(tempEl).hasClass('xmodule_WrapperModule') === true)
) { ) {
_this.verticalSectionEl = tempEl; _this.wrapperSectionEl = tempEl;
break; break;
} else if (c1 > 50) { } else if (c1 > 50) {
......
...@@ -119,6 +119,10 @@ div.course-wrapper { ...@@ -119,6 +119,10 @@ div.course-wrapper {
} }
} }
section.xmodule_WrapperModule ol.vert-mod > li {
border-bottom: none;
}
section.tutorials { section.tutorials {
h2 { h2 {
margin-bottom: lh(); margin-bottom: lh();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment