Skip to content

Commit 838dfeb

Browse files
committed
built
1 parent 6a65f5c commit 838dfeb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

build/nodegame-window.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1767,7 +1767,11 @@
17671767
updateAreLoading(this, 1);
17681768

17691769
// Hide iframe content while loading.
1770-
iframe.style.visibility = 'hidden';
1770+
// This way if the page is manipulated in the step callback,
1771+
// the user still sees it appearing all at once.
1772+
// The iframe visibility is reset by nodegame-client listener
1773+
// on LOADED (avoiding registering two listeners this way.)
1774+
// iframe.style.visibility = 'hidden';
17711775

17721776
// Add the onLoad event listener:
17731777
if (!loadCache || !frameReady) {

0 commit comments

Comments
 (0)