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
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ STUDIP.domReady(() => {
STUDIP.JSUpdater.register('wiki_page_content', STUDIP.Wiki.updatePageContent, function () {
//update the wiki page for readers:
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(() => {
return info;
});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment