Skip to content
Snippets Groups Projects
Commit aa5bfaa1 authored by David Hoksza's avatar David Hoksza
Browse files

automatic openning of the story steps list

parent d79daefa
No related branches found
No related tags found
No related merge requests found
Pipeline #7707 passed
......@@ -350,7 +350,8 @@ function initializeIntroJsStory1() {
const $introContainer = initializeIntroJsStoryHtml(id, 'First story', 'Story description');
const intro = initializeIntroJsStory1Contet($introContainer);
$introContainer.find('.panel-heading').click(() => {
$introContainer.find('.panel-heading').click((e) => {
$(e.target).closest('.panel').find('.panel-collapse').collapse('show');
startIntro($introContainer, intro);
});
$introContainer.find('.panel.story li').each((i, el) => {
......
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