Skip to content

Commit 0c175e2

Browse files
author
abdobargush
committed
Fix by moving mark data as set to onFetch
1 parent 27cf8d0 commit 0c175e2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,9 +341,6 @@ export default class LinkTool {
341341
this.nodes.linkText = this.make('span', this.CSS.linkText);
342342
}
343343

344-
// Mark as data is set
345-
this.isDataSet = true;
346-
347344
return holder;
348345
}
349346

@@ -472,6 +469,9 @@ export default class LinkTool {
472469
this.hideProgress().then(() => {
473470
this.nodes.inputHolder.remove();
474471
this.showLinkPreview(metaData);
472+
473+
// Mark as data is set
474+
this.isDataSet = true;
475475
});
476476
}
477477

0 commit comments

Comments
 (0)