diff --git a/source/website/index.js b/source/website/index.js index d634369a..425640ef 100644 --- a/source/website/index.js +++ b/source/website/index.js @@ -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:');