Skip to content

Commit

Permalink
Reactive update fixes WIP 7
Browse files Browse the repository at this point in the history
  • Loading branch information
james-cnz committed Oct 6, 2024
1 parent cdb45c3 commit 0cf93ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion templates/courseformat/content/section.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
{{/ core_courseformat/local/content/section/controlmenu }}
{{/controlmenu}}
</div>
<div id="coursecontentcollapse{{num}}"
<div id="coursecontentcollapse{{id}}"
class="content
{{^sitehome}}course-content-item-content {{#iscollapsible}}collapse{{/iscollapsible}} {{^contentcollapsed}}show{{/contentcollapsed}}{{/sitehome}}
">
Expand Down
6 changes: 3 additions & 3 deletions templates/courseformat/content/section/header.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
<div class="d-flex align-items-start position-relative">
{{#iscollapsible}}
<a role="button" data-toggle="collapse"
href="#coursecontentcollapse{{num}}"
id="collapssesection{{num}}"
href="#coursecontentcollapse{{id}}"
id="collapssesection{{id}}"
aria-expanded="{{^contentcollapsed}}true{{/contentcollapsed}}{{#contentcollapsed}}false{{/contentcollapsed}}"
aria-controls="coursecontentcollapse{{num}}"
aria-controls="coursecontentcollapse{{id}}"
class="btn btn-icon mr-1 icons-collapse-expand justify-content-center
{{^editing}} stretched-link {{/editing}}
{{#contentcollapsed}} collapsed {{/contentcollapsed}}"
Expand Down

0 comments on commit 0cf93ce

Please sign in to comment.