don't display errors on search page when anki is enabled but not open
This commit is contained in:
parent
37a76bab2f
commit
e27355a6b0
@ -28,7 +28,7 @@ window.displayWindow = new class extends Display {
|
||||
}
|
||||
|
||||
definitionsAddable(definitions, modes) {
|
||||
return instYomi().definitionsAddable(definitions, modes);
|
||||
return instYomi().definitionsAddable(definitions, modes).catch(() => []);
|
||||
}
|
||||
|
||||
templateRender(template, data) {
|
||||
|
Loading…
Reference in New Issue
Block a user