Skip to content

Commit

Permalink
Minor modification.
Browse files Browse the repository at this point in the history
  • Loading branch information
kovacsv committed Jan 27, 2024
1 parent c4955b3 commit 5ec6840
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/website/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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:');

Expand Down

0 comments on commit 5ec6840

Please sign in to comment.