From 5ec6840f6ea1d54b96c0ea47c3616a75c087b141 Mon Sep 17 00:00:00 2001 From: kovacsv Date: Sat, 27 Jan 2024 12:09:02 +0100 Subject: [PATCH] Minor modification. --- source/website/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/website/index.js b/source/website/index.js index d634369..425640e 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:');