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 = {
function (response) {
_this.showAnswerGraph(response.poll_answers, response.total);
if (_this.verticalSectionEl !== null) {
$(_this.verticalSectionEl).find('.xmodule_ConditionalModule').each(function (index, value) {
if (_this.wrapperSectionEl !== null) {
$(_this.wrapperSectionEl).find('.xmodule_ConditionalModule').each(function (index, value) {
new window.Conditional(value);
});
}
......@@ -222,7 +222,7 @@ function PollMain(el) {
// 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.
this.verticalSectionEl = null;
this.wrapperSectionEl = null;
(function (tempEl, c1) {
while (tempEl.tagName.toLowerCase() !== 'body') {
......@@ -231,9 +231,9 @@ function PollMain(el) {
if (
(tempEl.tagName.toLowerCase() === 'section') &&
($(tempEl).hasClass('xmodule_VerticalModule') === true)
($(tempEl).hasClass('xmodule_WrapperModule') === true)
) {
_this.verticalSectionEl = tempEl;
_this.wrapperSectionEl = tempEl;
break;
} else if (c1 > 50) {
......
......@@ -119,6 +119,10 @@ div.course-wrapper {
}
}
section.xmodule_WrapperModule ol.vert-mod > li {
border-bottom: none;
}
section.tutorials {
h2 {
margin-bottom: lh();
......@@ -219,7 +223,7 @@ div.course-wrapper {
.xmodule_VideoModule {
margin-bottom: 30px;
}
......@@ -237,7 +241,7 @@ section.self-assessment {
margin-top: 5px;
margin-bottom: 5px;
}
div {
margin-top: 5px;
margin-bottom: 5px;
......
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