diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-07-03 12:20:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-03 12:20:22 -0400 |
commit | a07a8dfff667e0bba20d7199c4d7aa610e98bcdb (patch) | |
tree | 0621aa42db97b7ac39207452b54c10b528080f24 /ext/mixed/js/comm.js | |
parent | ce634325ce3a6ba4994916116b15b90e92666255 (diff) |
Extension unload detection (#647)
* Update how extension unload is detected
* Remove event handlers and use yomichan.isExtensionUnloaded instead
* Update terminology
Diffstat (limited to 'ext/mixed/js/comm.js')
-rw-r--r-- | ext/mixed/js/comm.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/comm.js b/ext/mixed/js/comm.js index 7787616e..0d6b8695 100644 --- a/ext/mixed/js/comm.js +++ b/ext/mixed/js/comm.js @@ -268,7 +268,7 @@ class CrossFrameAPI { } _createCommPort(otherFrameId) { - const port = chrome.runtime.connect(null, {name: `background-cross-frame-communication-port-${otherFrameId}`}); + const port = yomichan.connect(null, {name: `background-cross-frame-communication-port-${otherFrameId}`}); return this._setupCommPort(otherFrameId, port); } |