fix condition mistake that doesn't actually affect anything

This commit is contained in:
wareya committed 2017-12-13 03:25:11 -05:00
1 parent 4470987830
commit a21695954e
1 file changed
+1 -1
+1 -1
View File
@@ -18,7 +18,7 @@ browser.contextMenus.create({
function might_have_japanese(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 false;
}