diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-12-08 22:29:23 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-12-13 23:11:56 -0500 |
commit | 4177b6372696d9b424857fedd1be988cc7eb0095 (patch) | |
tree | b7f0fb5f3ccb39f49f0c632935efead016ffcc45 /ext/fg/js/frontend.js | |
parent | 573f83b65a8a0f87def6f4200ce503d957464f0d (diff) |
Remove redundant getUrl handlers
Diffstat (limited to 'ext/fg/js/frontend.js')
-rw-r--r-- | ext/fg/js/frontend.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js index 6c1dafe5..43b64bb0 100644 --- a/ext/fg/js/frontend.js +++ b/ext/fg/js/frontend.js @@ -201,6 +201,5 @@ Frontend._windowMessageHandlers = new Map([ Frontend._runtimeMessageHandlers = new Map([ ['optionsUpdate', (self) => self.updateOptions()], - ['popupSetVisibleOverride', (self, {visible}) => self.popup.setVisibleOverride(visible)], - ['getUrl', () => ({url: window.location.href})] + ['popupSetVisibleOverride', (self, {visible}) => self.popup.setVisibleOverride(visible)] ]); |