diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-12-20 13:44:33 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-12-20 13:44:33 -0500 |
commit | 2519f99f54412933beed8b2c753c76662099f8e0 (patch) | |
tree | 4fc453e375394749ad1cd5d1e1fb72cafef84048 /ext/mixed/js/api.js | |
parent | 2a95f1420f08b034ae8e12ecffed86aa6f33e53a (diff) |
Update how orphan state is observed
Diffstat (limited to 'ext/mixed/js/api.js')
-rw-r--r-- | ext/mixed/js/api.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/api.js b/ext/mixed/js/api.js index ae74b8dc..18b360a3 100644 --- a/ext/mixed/js/api.js +++ b/ext/mixed/js/api.js @@ -115,8 +115,8 @@ function _apiInvoke(action, params={}) { } }); } catch (e) { - window.yomichan_orphaned = true; reject(e); + yomichan.triggerOrphaned(e); } }); } |