Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
guide
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
minerva
plugins
guide
Commits
aa5bfaa1
Commit
aa5bfaa1
authored
6 years ago
by
David Hoksza
Browse files
Options
Downloads
Patches
Plain Diff
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
6 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/js/index.js
+2
-1
2 additions, 1 deletion
src/js/index.js
with
2 additions
and
1 deletion
src/js/index.js
+
2
−
1
View file @
aa5bfaa1
...
...
@@ -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
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment