Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

Commit c8abdc2

Browse files
author
Francois-Xavier Gentilhomme
committed
[FIX] fixes unloaded state on init
1 parent 4b33c53 commit c8abdc2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

demo/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,9 @@
9797
var waitingDiv = document.querySelector('#waiting');
9898
waitingDiv.parentNode.removeChild(waitingDiv);
9999
console.log("All resources finished loading! Starting to init myscript-text-web");
100-
101-
select('fr_FR');
100+
var myscriptTextWebElement = document.querySelector('myscript-text-web');
101+
myscriptTextWebElement.language = 'fr_FR';
102+
myscriptTextWebElement.unloaded = false;
102103
console.log("myscript-text-web should be displayed");
103104
}, 3000);
104105
});

0 commit comments

Comments
 (0)