Skip to content

Commit

Permalink
fix: footer hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsuk1ko committed Aug 11, 2024
1 parent acf4179 commit 0c025f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<% if (VUE_APP_HTTPS) { %><script>if(location.protocol==='http:')location.protocol='https:';</script><% } %>
Expand All @@ -17,7 +17,7 @@
<div id="container">
<noscript><strong>Please enable javascript.</strong></noscript>
<div id="app"></div>
<footer id="footer" class="mdui-text-center mdui-hidden">
<footer id="footer" class="mdui-text-center" hidden>
<div class="mdui-typo no-sl">Made with ❤️ by <a href="https://github.com/Tsuk1ko" target="_blank">神代綺凛</a></div>
<div class="mdui-text-color-theme-divider" style="font-size: 12px; margin: -2px 0 6px 0"><%= VUE_APP_DIST_VERSION %></div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ new Vue({
this.updateScreenWidth();
window.addEventListener('resize', _.throttle(this.updateScreenWidth, 500, { leading: false }));
window.addEventListener('orientationchange', this.updateScreenWidth);
$('#footer').removeClass('mdui-hidden');
$('#footer').removeAttr('hidden');
},
i18n,
}).$mount('#app');

0 comments on commit 0c025f6

Please sign in to comment.