Commit 7781658e authored by Sean Hammond's avatar Sean Hammond

Fix video embeds in Firefox < 45

innerText is non-standard and not supported in Firefox < 45.

Use textContent instead.
parent 06504c67
......@@ -130,7 +130,7 @@ function embedForLink(link) {
*
*/
function replaceLinkWithEmbed(link) {
if (link.href !== link.innerText) {
if (link.href !== link.textContent) {
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment