Skip to content

Commit

Permalink
[ADD] ready
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Jan 20, 2022
1 parent d26c391 commit 5784516
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/IFrameAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ var ol_ext_IFrameAPI = function(targetOrigin) {
} else {
switch (e.data.api) {
case 'ready': {
this.ready = true;
this.id = e.data.id;
window.parent.postMessage(e.data, this.targetOrigin);
break;
Expand Down

0 comments on commit 5784516

Please sign in to comment.