23 lines
858 B
JavaScript
23 lines
858 B
JavaScript
// Copyright (c) Jérémie N'gadi
|
|
//
|
|
// All rights reserved.
|
|
//
|
|
// Even if 'All rights reserved' is very clear :
|
|
//
|
|
// You shall not use any piece of this software in a commercial product / service
|
|
// You shall not resell this software
|
|
// You shall not provide any facility to install this particular software in a commercial product / service
|
|
// If you redistribute this software, you must link to ORIGINAL repository at https://github.com/esx-framework/esx-reborn
|
|
// This copyright should appear in every part of the project code
|
|
|
|
document.addEventListener("DOMContentLoaded", () => {
|
|
const introTag = document.getElementById("esx_intro");
|
|
const loopTag = document.getElementById("esx_loop");
|
|
|
|
introTag.onended = () => {
|
|
introTag.style.display = "none";
|
|
loopTag.loop = true; // true
|
|
loopTag.play();
|
|
};
|
|
});
|