Skip to content

Commit

Permalink
fix: fixes broken image symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
faouziH21 committed Sep 19, 2024
1 parent d9075ed commit ef955f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion resources/public/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
<base href="<%= htmlWebpackPlugin.options.appPrefix %>">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<div id="loadmask" class="loadmask">
<img id="loadmask-image" alt="Loading, please wait…">
<img src="loading-placeholder.png" id="loadmask-image" >
<span id="loading-text">
Loading, please wait
</span>
</div>
<title><%= htmlWebpackPlugin.options.title %></title>
<style>
Expand Down Expand Up @@ -85,6 +88,7 @@
let logoPath = './shogun_spinner.gif';
if (appId) {
logoPath = localStorage.getItem(`SHOGun_Logo_Path_${appId}`);
document.getElementById('loading-text').style.display='none';
}
const loadingImageElement = document.getElementById('loadmask-image');
if (logoPath && loadingImageElement) {
Expand Down
Binary file added resources/public/loading-placeholder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ef955f0

Please sign in to comment.