Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fixes broken image symbol #1750

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

fix: fixes broken image symbol #1750

wants to merge 2 commits into from

Conversation

faouziH21
Copy link
Contributor

previously while loading an application, if the logo was not already rendered there would be a broken image symbol. This PR removes it.

Copy link

github-actions bot commented Sep 19, 2024

Title Lines Statements Branches Functions
All Coverage: 30%
30.64% (1086/3544) 17.54% (329/1875) 34.38% (239/695)

❌ No tests were found related to the files changed

Copy link
Member

@dnlkoch dnlkoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, very nice @faouziH21!

<img id="loadmask-image" alt="Loading, please wait…">
<img src="loading-placeholder.png" id="loadmask-image">
<span id="loading-text">
Loading, please wait
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Loading, please wait
Loading, please wait

@@ -86,6 +89,7 @@
if (appId) {
logoPath = localStorage.getItem(`SHOGun_Logo_Path_${appId}`);
}
document.getElementById('loading-text').style.display='none';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
document.getElementById('loading-text').style.display='none';
document.getElementById('loading-text').style.display = 'none';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants