Skip to content

Commit

Permalink
Display viewer do not show loader when no display is loaded.
Browse files Browse the repository at this point in the history
  • Loading branch information
riclolsen committed Sep 8, 2024
1 parent da8856a commit 104b0bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/htdocs/display.html
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,9 @@

// Load screen file
if (tela == "") {
if (indtela == "")
document.getElementById("loader").style.display = "none";

// if svg file name is not passed as a parameter, wait for screen_list.js to load and find the name in the list, then init the svg processing
$(function(){
WebSAGE.init_svg(WebSAGE.lista_telas("", indtela));
Expand Down

0 comments on commit 104b0bf

Please sign in to comment.