From 9b2bcf1ea02d5f64d80bc1246bfb16be0d7ff97b Mon Sep 17 00:00:00 2001 From: "Joshua A. Horton" Date: Thu, 14 Jul 2022 08:42:04 +0700 Subject: [PATCH] chore(web): applies PR suggestion (manually) --- web/source/kmwbase.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/source/kmwbase.ts b/web/source/kmwbase.ts index 21a636e4db..e69548c6af 100644 --- a/web/source/kmwbase.ts +++ b/web/source/kmwbase.ts @@ -185,12 +185,12 @@ namespace com.keyman { * Reset context when entering or exiting the active element. * Will also trigger OSK shift state / layer reset. **/ - pageFocusHandler: () => boolean = function(this: KeymanBase) { + pageFocusHandler = () => { if(!this.uiManager.isActivating && this.osk?.vkbd) { this.core.resetContext(null); } return false; - }.bind(this); + } /** * Triggers a KeymanWeb engine shutdown to facilitate a full system reset.