From 303c55d1dde285be1853e97dab3d727a1461d3ee Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Wed, 30 Nov 2016 13:25:23 +1300 Subject: [PATCH] Fixed length check. --- tabs/osd.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tabs/osd.js b/tabs/osd.js index fa7b2281..6c40a3f0 100755 --- a/tabs/osd.js +++ b/tabs/osd.js @@ -595,8 +595,8 @@ TABS.osd.initialize = function (callback) { MSP.promise(MSPCodes.MSP_OSD_CONFIG) .then(function(info) { OSD.chooseFields(); - // fc responsed with only 1 field: osd unsupported - if (info.length == 1) { + // fc responsed with short message: osd unsupported + if (info.length < 4) { $('.unsupported').fadeIn(); return; }