10000 chore: set callback earlier · NativeScript/NativeScript@4987961 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4987961

Browse files
committed
chore: set callback earlier
1 parent addac8a commit 4987961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/ui/frame/frame-common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ export class FrameBase extends CustomLayoutView {
140140
this._frameEntryLoadedCallback = null;
141141
};
142142

143-
parentFrame.once(FRAME_ENTRY_LOADED_EVENT, callback);
144143
this._frameEntryLoadedCallback = callback;
144+
parentFrame.once(FRAME_ENTRY_LOADED_EVENT, callback);
145145
} else {
146146
this.onFrameLoaded();
147147
}

0 commit comments

Comments
 (0)
0