From c28bd8e7752572103c11e31e5116e0b9b0f50f1e Mon Sep 17 00:00:00 2001 From: mnater Date: Tue, 26 Jun 2018 10:53:32 +0200 Subject: [PATCH] lint --- Hyphenopoly_Loader.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)); } }());