Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mnater committed Jun 26, 2018
1 parent cbbbdef commit c28bd8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Hyphenopoly_Loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down Expand Up @@ -520,6 +520,6 @@
}());

if (H.cacheFeatureTests) {
sessionStorage.setItem("Hyphenopoly_Loader", JSON.stringify(t));
sessionStorage.setItem("Hyphenopoly_Loader", JSON.stringify(H.clientFeat));
}
}());

0 comments on commit c28bd8e

Please sign in to comment.