fix condition mistake that doesn't actually affect anything
This commit is contained in:
1 parent
4470987830
commit
a21695954e
1 file changed
+1
-1
@@ -18,7 +18,7 @@ browser.contextMenus.create({
|
|||||||
function might_have_japanese(text)
|
function might_have_japanese(text)
|
||||||
{
|
{
|
||||||
for(let char of text)
|
for(let char of text)
|
||||||
if(char && char.length > 0 && char.codePointAt(0) > 0x2E80)
|
if(char && char.length > 0 && char.codePointAt(0) >= 0x2E80)
|
||||||
return true;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user