style: auto-fix linting issues
This commit is contained in:
parent
6eda36b8df
commit
9b269d14fd
2 changed files with 8 additions and 2 deletions
|
|
@ -4768,7 +4768,12 @@
|
|||
View on GitHub
|
||||
</a>
|
||||
</div>
|
||||
<p style="text-align: center; color: grey;">made with ❤︎ by <a href="https://prigoana.com/" style="text-decoration: underline;">Edideaur</a>, <a href="https://samidy.com" style="text-decoration: underline;">Samidy</a> & <a href="https://github.com/JulienMaille" style="text-decoration: underline;">Julien</a></p>
|
||||
<p style="text-align: center; color: grey">
|
||||
made with ❤︎ by
|
||||
<a href="https://prigoana.com/" style="text-decoration: underline">Edideaur</a>,
|
||||
<a href="https://samidy.com" style="text-decoration: underline">Samidy</a> &
|
||||
<a href="https://github.com/JulienMaille" style="text-decoration: underline">Julien</a>
|
||||
</p>
|
||||
<div class="about-footer">
|
||||
<p class="version">Version 2.2.0</p>
|
||||
<p class="disclaimer">
|
||||
|
|
|
|||
|
|
@ -387,7 +387,8 @@ function readID3Text(view) {
|
|||
|
||||
function getMimeType(data) {
|
||||
if (data.length >= 2 && data[0] === 0xff && data[1] === 0xd8) return 'image/jpeg';
|
||||
if (data.length >= 8 && data[0] === 0x89 && data[1] === 0x50 && data[2] === 0x4e && data[3] === 0x47) return 'image/png';
|
||||
if (data.length >= 8 && data[0] === 0x89 && data[1] === 0x50 && data[2] === 0x4e && data[3] === 0x47)
|
||||
return 'image/png';
|
||||
return 'image/jpeg';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue