Skip to content
Snippets Groups Projects
Commit bf4745cf authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #3751

Closes #3751

Merge request studip/studip!2605
parent 5b10cf62
Branches
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ STUDIP.domReady(() => { ...@@ -15,7 +15,7 @@ STUDIP.domReady(() => {
STUDIP.JSUpdater.register('wiki_page_content', STUDIP.Wiki.updatePageContent, function () { STUDIP.JSUpdater.register('wiki_page_content', STUDIP.Wiki.updatePageContent, function () {
//update the wiki page for readers: //update the wiki page for readers:
return Array.from(document.getElementsByClassName('wiki_page_content')).map(node => { return Array.from(document.getElementsByClassName('wiki_page_content')).map(node => {
return node.data.set.page_id; return node.dataset.page_id;
}); });
}); });
...@@ -52,4 +52,3 @@ STUDIP.domReady(() => { ...@@ -52,4 +52,3 @@ STUDIP.domReady(() => {
return info; return info;
}); });
}); });
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment