From 64ab849aeb55f722cbbd54c90b2871092af503fd Mon Sep 17 00:00:00 2001 From: Garen Torikian Date: Thu, 18 Dec 2014 11:53:45 -0800 Subject: [PATCH] Use W3C compliant `textContent` instead of `innerText --- assets/js/app.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/app.coffee b/assets/js/app.coffee index 7b47065..37ec371 100644 --- a/assets/js/app.coffee +++ b/assets/js/app.coffee @@ -90,11 +90,11 @@ class Choosealicense # Callback to restore the clipboard button's original text clipboardMouseout: (client, args) -> - @innerText = $(this).data("clipboard-prompt") + @textContent = $(this).data("clipboard-prompt") # Post-copy user feedback callback clipboardComplete: (client, args) -> - @innerText = "Copied!" + @textContent = "Copied!" # Initializes pill navigation for license variations initLicenseVariationNav: ->