WIP
This commit is contained in:
parent
7015b80469
commit
8c1ebe6bcb
@ -103,10 +103,11 @@ class Yomichan {
|
||||
}
|
||||
|
||||
ankiInvoke(action, params, pool, callback) {
|
||||
if (this.options.enableAnkiConnect) {
|
||||
if (pool !== null && this.asyncPools.hasOwnProperty(pool)) {
|
||||
this.asyncPools[pool].abort();
|
||||
callback(null);
|
||||
} else if (this.options.enableAnkiConnect) {
|
||||
}
|
||||
|
||||
const xhr = new XMLHttpRequest();
|
||||
xhr.addEventListener('loadend', () => {
|
||||
if (pool !== null) {
|
||||
|
Loading…
Reference in New Issue
Block a user