Last active
July 1, 2016 10:51
-
-
Save mrandrewmills/59730be0725c03cf340fef4e822a684d to your computer and use it in GitHub Desktop.
possible 508 fix for function K(a) in JWPlayer's Sharing plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// improved (added line 10) | |
function k(a) { | |
var b = i("div", ["jw-sharing-row", "jw-sharing-" + a]) | |
, c = i("span", ["jw-sharing-svg-row-icon", "jw-sharing-icon-" + a]) | |
, d = i("span", ["jw-sharing-cell"], c); | |
b.appendChild(d); | |
var e = i("textarea", ["jw-sharing-text"]); | |
return new u(e).on("click tap", l, e), | |
e.setAttribute("readonly", "true"), | |
e.setAttribute("title", a) | |
e.addEventListener("copy", p), | |
e.addEventListener("cut", p), | |
b.appendChild(e), | |
b | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment