Skip to content

Commit

Permalink
Merge pull request #1750 from terrestris/fix-broken-image
Browse files Browse the repository at this point in the history
fix: fixes broken image symbol
  • Loading branch information
dnlkoch authored Oct 7, 2024
2 parents a0439f5 + 050ef7e commit 9cad8fe
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 @@ -86,6 +89,7 @@
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) {
loadingImageElement.src = logoPath;
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 9cad8fe

Please sign in to comment.