react-visio - update package-lock (#778)
* update package-lock * remove timeout for IE
This commit is contained in:
parent
f583732935
commit
3847c3744b
File diff suppressed because it is too large
Load Diff
|
@ -296,12 +296,11 @@ export class VisioService {
|
|||
// add custom onDocumentLoadComplete event handler
|
||||
await this._addCustomEventHandlers();
|
||||
|
||||
// trigger document and page loaded event handlers after 3 seconds in case Visio fails to trigger them
|
||||
// trigger document and page loaded event handlers manually as sometimes Visio fails to trigger them
|
||||
// we are sending a null event, which is fine in this case as we don't need any of the event data
|
||||
// this is randomly happening on chrome, but seems to always fail on IE...
|
||||
setTimeout(() => {
|
||||
this._onDocumentLoadComplete(null);
|
||||
this._onPageLoadComplete(null);
|
||||
}, 3000);
|
||||
|
||||
} catch (error) {
|
||||
this.logError(error);
|
||||
|
|
Loading…
Reference in New Issue