From a07a8dfff667e0bba20d7199c4d7aa610e98bcdb Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 3 Jul 2020 12:20:22 -0400 Subject: [PATCH] Extension unload detection (#647) * Update how extension unload is detected * Remove event handlers and use yomichan.isExtensionUnloaded instead * Update terminology --- ext/fg/float.html | 2 +- ext/fg/js/frontend.js | 10 ++-------- ext/mixed/js/api.js | 3 +-- ext/mixed/js/comm.js | 2 +- ext/mixed/js/display.js | 22 ++++++++-------------- ext/mixed/js/yomichan.js | 35 ++++++++++++++++++++++++++++++----- 6 files changed, 43 insertions(+), 31 deletions(-) diff --git a/ext/fg/float.html b/ext/fg/float.html index 735a880a..a13244ee 100644 --- a/ext/fg/float.html +++ b/ext/fg/float.html @@ -29,7 +29,7 @@ -