feat: allow blocks lower than units to be bookmarked
Adds support to jump/scroll to blocks lower than units if bookmarked. It also fixes an issue with bookmark visit url function where it was not passing query params.
This commit is contained in:
committed by
Farhaan Bukhsh
parent
1573c7b07f
commit
aeddb8a922
@@ -62,7 +62,7 @@ from openedx.core.djangolib.markup import HTML
|
||||
<div class="vert-mod">
|
||||
% for idx, item in enumerate(items):
|
||||
% if item['content']:
|
||||
<div class="vert vert-${idx}" data-id="${item['id']}">
|
||||
<div class="vert vert-${idx}" data-id="${item['id']}" id="${item['id']}">
|
||||
${HTML(item['content'])}
|
||||
</div>
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user