You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello 👋, this issue has been opened for more than 3 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically
Checked for duplicates?
Does it also happen in the desktop version?
What are the steps to reproduce this bug?
Accessing the
AnkiDroidJS
object throughglobalThis
no longer works, apparently after #14564.Expected behaviour
globalThis.AnkiDroidJS
should be equivalent toAnkiDroidJS
.Actual behaviour
globalThis.AnkiDroidJS
andwindow.AnkiDroidJS
areundefined
, whileAnkiDroidJS
works as expected.Debug info
(Optional) Anything else you want to share?
This behavior is unintuitive and is breaking some functionality in popular note types, e.g. https://forums.ankiweb.net/t/anki-as-a-knowledge-base-with-a-massive-cloze-note/11658/92
Research
The text was updated successfully, but these errors were encountered: