diff --git a/src/background/api.js b/src/background/api.js index 0cd03e0..6795965 100644 --- a/src/background/api.js +++ b/src/background/api.js @@ -285,7 +285,7 @@ module.exports = async ({ if(typeof callback != 'function') return; - if(!text || text.length <= 2) { + if(!text || text.length < 2) { callback(undefined); return; } @@ -407,7 +407,7 @@ module.exports = async ({ if(typeof callback != 'function') return; - if(!text || text.length <= 2) { + if(!text || text.length < 2) { callback(undefined); return; }