* [misc] fix js error in firefox.
This commit is contained in:
+4
-1
@@ -475,5 +475,8 @@ $(() =>
|
||||
}
|
||||
|
||||
/* Bind AI commands in app when app is loaded. */
|
||||
$(document).on('loadapp.apps', (_, args) => bindAICommandsInApp(args[0].iframe.contentWindow));
|
||||
$(document).on('loadapp.apps', (_, args) =>
|
||||
{
|
||||
setTimeout(() => bindAICommandsInApp(args[0].iframe.contentWindow), 1000);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user