Skip to content

Commit

Permalink
Update a comment about the initial fade-in of the loading bar
Browse files Browse the repository at this point in the history
  • Loading branch information
robertknight committed May 4, 2021
1 parent 8f0cebb commit 868c7a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions via/templates/proxy.html.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,9 @@
<div class="js-loading-indicator loading-bar">
<script>
/**
* Show the loading spinner after a short delay. The delay avoids a flash
* of the indicator if the content loads very quickly.
* Show the loading indicator after a short delay. The delay avoids showing
* the "loading started" state if the content loads very quickly, although
* the loading bar will still briefly fade in and out.
*/
function showLoadingIndicator() {
const loadingIndicator = document.querySelector('.js-loading-indicator');
Expand Down

0 comments on commit 868c7a6

Please sign in to comment.