From 902a7676b42c809936b0e2df833d19e065bb3e26 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Fri, 9 Dec 2016 08:34:12 -0600 Subject: [PATCH] fix(keyboard): fix keyboard tabbing context Closes #9568 --- src/util/keyboard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/keyboard.ts b/src/util/keyboard.ts index 45e592adcf2..bed5f5887da 100644 --- a/src/util/keyboard.ts +++ b/src/util/keyboard.ts @@ -155,7 +155,7 @@ export class Keyboard { let isKeyInputEnabled = false; function cssClass() { - this._dom.write(() => { + self._dom.write(() => { document.body.classList[isKeyInputEnabled ? 'add' : 'remove']('focus-outline'); }); }