diff --git a/Hyphenopoly_Loader.js b/Hyphenopoly_Loader.js index 34a557b3..3ce3ef8a 100644 --- a/Hyphenopoly_Loader.js +++ b/Hyphenopoly_Loader.js @@ -453,13 +453,13 @@ /** * Checks if hyphens (ev.prefixed) is set to auto for the element. - * @param {Object} el - the element + * @param {Object} elm - the element * @returns {Boolean} result of the check */ function checkCSSHyphensSupport(elm) { return (elm.style.hyphens === "auto" || elm.style.webkitHyphens === "auto" || - elmm.style.msHyphens === "auto" || + elm.style.msHyphens === "auto" || elm.style["-moz-hyphens"] === "auto"); } @@ -520,6 +520,6 @@ }()); if (H.cacheFeatureTests) { - sessionStorage.setItem("Hyphenopoly_Loader", JSON.stringify(t)); + sessionStorage.setItem("Hyphenopoly_Loader", JSON.stringify(H.clientFeat)); } }());