Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
Vestibule
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Nicolas PERNOUD
Vestibule
Commits
dc19ba65
Commit
dc19ba65
authored
5 years ago
by
Nicolas Pernoud
Browse files
Options
Downloads
Patches
Plain Diff
fix: animation sequence
parent
e51192cb
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#6120
passed
5 years ago
Stage: sonar-analysis
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
web/index.html
+1
-1
1 addition, 1 deletion
web/index.html
web/main.js
+7
-7
7 additions, 7 deletions
web/main.js
with
8 additions
and
8 deletions
web/index.html
+
1
−
1
View file @
dc19ba65
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
</div>
</div>
<div
class=
"navbar-menu"
>
<div
class=
"navbar-menu"
>
<div
class=
"navbar-end"
>
<div
class=
"navbar-end"
>
<div
class=
"navbar-item"
><p>
v4.3.2
6
</p></div>
<div
class=
"navbar-item"
><p>
v4.3.2
7
</p></div>
</div>
</div>
</div>
</div>
</nav>
</nav>
...
...
This diff is collapsed.
Click to expand it.
web/main.js
+
7
−
7
View file @
dc19ba65
...
@@ -54,13 +54,13 @@ async function navigate() {
...
@@ -54,13 +54,13 @@ async function navigate() {
async
function
load
(
element
,
domAlteration
)
{
async
function
load
(
element
,
domAlteration
)
{
await
AnimateCSS
(
element
,
"
fadeOut
"
);
await
AnimateCSS
(
element
,
"
fadeOut
"
);
element
.
classList
.
add
(
"
is-hidden
"
);
element
.
classList
.
add
(
"
is-hidden
"
);
// Start the alteration
const
alteration
=
domAlteration
();
spinner
.
classList
.
remove
(
"
is-hidden
"
);
spinner
.
classList
.
remove
(
"
is-hidden
"
);
await
AnimateCSS
(
spinner
,
"
fadeIn
"
);
await
AnimateCSS
(
spinner
,
"
fadeIn
"
);
if
(
typeof
domAlteration
===
"
function
"
)
{
await
alteration
;
// Await for alteration end
await
domAlteration
();
await
AnimateCSS
(
spinner
,
"
fadeOut
"
);
await
AnimateCSS
(
spinner
,
"
fadeOut
"
);
spinner
.
classList
.
add
(
"
is-hidden
"
);
spinner
.
classList
.
add
(
"
is-hidden
"
);
element
.
classList
.
remove
(
"
is-hidden
"
);
element
.
classList
.
remove
(
"
is-hidden
"
);
AnimateCSS
(
element
,
"
fadeIn
"
);
AnimateCSS
(
element
,
"
fadeIn
"
);
}
}
}
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