From 5507ceb7ed05013ca85fc6bb14e4e7262eeca94d Mon Sep 17 00:00:00 2001 From: Marc Durdin Date: Tue, 29 Jun 2021 16:51:34 +1000 Subject: [PATCH] fix(developer): builder commands were ignored As we changed the User Agent string to have 'Keyman' instead of 'TIKE', the builder commands were being ignored. --- windows/src/developer/TIKE/xml/layoutbuilder/builder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/src/developer/TIKE/xml/layoutbuilder/builder.js b/windows/src/developer/TIKE/xml/layoutbuilder/builder.js index 1e9133c2b0..4becea28f7 100644 --- a/windows/src/developer/TIKE/xml/layoutbuilder/builder.js +++ b/windows/src/developer/TIKE/xml/layoutbuilder/builder.js @@ -1119,7 +1119,7 @@ $(function () { this.commands = []; this.command = function (cmd) { - if (navigator.userAgent.indexOf('TIKE') < 0) { + if (navigator.userAgent.indexOf('Keyman') < 0) { return false; } // queue commands to build a single portmanteau command when we return to idle