Minor modification.

This commit is contained in:
kovacsv 2024-01-27 12:09:02 +01:00
parent c4955b39de
commit 5ec6840f6e

View File

@ -48,7 +48,6 @@ export function RegisterToolbarPlugin (plugin)
export function StartWebsite (externalLibLocation)
{
SetExternalLibLocation (externalLibLocation);
window.addEventListener ('load', () => {
if (window.self !== window.top) {
let noEmbeddingDiv = AddDiv (document.body, 'noembed');
@ -59,6 +58,8 @@ export function StartWebsite (externalLibLocation)
return;
}
SetExternalLibLocation (externalLibLocation);
document.getElementById ('intro_dragdrop_text').innerHTML = Loc ('Drag and drop 3D models here.');
document.getElementById ('intro_formats_title').innerHTML = Loc ('Check an example file:');