Minor modification.
This commit is contained in:
parent
c4955b39de
commit
5ec6840f6e
@ -48,7 +48,6 @@ export function RegisterToolbarPlugin (plugin)
|
|||||||
|
|
||||||
export function StartWebsite (externalLibLocation)
|
export function StartWebsite (externalLibLocation)
|
||||||
{
|
{
|
||||||
SetExternalLibLocation (externalLibLocation);
|
|
||||||
window.addEventListener ('load', () => {
|
window.addEventListener ('load', () => {
|
||||||
if (window.self !== window.top) {
|
if (window.self !== window.top) {
|
||||||
let noEmbeddingDiv = AddDiv (document.body, 'noembed');
|
let noEmbeddingDiv = AddDiv (document.body, 'noembed');
|
||||||
@ -59,6 +58,8 @@ export function StartWebsite (externalLibLocation)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SetExternalLibLocation (externalLibLocation);
|
||||||
|
|
||||||
document.getElementById ('intro_dragdrop_text').innerHTML = Loc ('Drag and drop 3D models here.');
|
document.getElementById ('intro_dragdrop_text').innerHTML = Loc ('Drag and drop 3D models here.');
|
||||||
document.getElementById ('intro_formats_title').innerHTML = Loc ('Check an example file:');
|
document.getElementById ('intro_formats_title').innerHTML = Loc ('Check an example file:');
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user