mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-10-31 01:58:11 +08:00
fix (loader): fix the transition out when the application has loaded
This commit is contained in:
@ -10,7 +10,7 @@ window.addEventListener("DOMContentLoaded", () => {
|
|||||||
const className = 'ontouchstart' in window ? 'touch-yes' : 'touch-no';
|
const className = 'ontouchstart' in window ? 'touch-yes' : 'touch-no';
|
||||||
document.body.classList.add(className);
|
document.body.classList.add(className);
|
||||||
|
|
||||||
const $loader = document.querySelector("#nyan_loader");
|
const $loader = document.querySelector("#n-lder");
|
||||||
|
|
||||||
function render(){
|
function render(){
|
||||||
ReactDOM.render(<Router/>, document.getElementById("main"));
|
ReactDOM.render(<Router/>, document.getElementById("main"));
|
||||||
|
|||||||
Reference in New Issue
Block a user