diff --git a/plugins/hok.ks.js b/plugins/hok.ks.js index d82cb59..9ad8b20 100644 --- a/plugins/hok.ks.js +++ b/plugins/hok.ks.js @@ -5,7 +5,7 @@ var PLUGIN_INFO = HoK Hit a hint for KeySnail キーボードでリンクを開く - 1.4.2 + 1.4.3 https://github.com/mooz/keysnail/raw/master/plugins/hok.ks.js https://github.com/mooz/keysnail/raw/master/plugins/icon/hok.icon.png mooz @@ -1016,6 +1016,7 @@ var hok = function () { let foundCount = 0; for (let [hintStr, hintElem] in Iterator(hintElements)) { + hintStr = String(hintStr); if (hintStr.indexOf(inputKey) === 0) { if (hintStr != inputKey) hintElem.style.backgroundColor = hintColorCandidates;