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.
This commit is contained in:
Marc Durdin 2021-06-29 16:51:34 +10:00
parent f3b59b7dd9
commit 5507ceb7ed

View file

@ -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