Skip to content

Commit

Permalink
Use H5P.ColumnXR for pages
Browse files Browse the repository at this point in the history
  • Loading branch information
otacke committed Nov 11, 2024
1 parent a7f0820 commit b35a33e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion semantics.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"name": "chapter",
"type": "library",
"options": [
"H5P.Column 1.18"
"H5P.ColumnXR 1.18"
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/pagecontent.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class PageContent extends H5P.EventDispatcher {

// Find sections with tasks and tracks them
chapter.sections.forEach((section, index) => {
if (H5P.Column.isTask(section.instance)) {
if (H5P.ColumnXR.isTask(section.instance)) {
section.isTask = true;
chapter.maxTasks++;
chapter.tasksLeft++;
Expand Down

0 comments on commit b35a33e

Please sign in to comment.