From: Michael McMahon Date: Fri, 19 Mar 2021 15:28:35 +0000 (-0400) Subject: Fix validation warnings and errors on main page and js. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=635dd00777d691f321e0da6a970f5943fa91afd6;p=libreplanet-static.git Fix validation warnings and errors on main page and js. --- diff --git a/2021/assets/js/piwik.js b/2021/assets/js/piwik.js index 29af5916..527cbaa4 100644 --- a/2021/assets/js/piwik.js +++ b/2021/assets/js/piwik.js @@ -6,6 +6,6 @@ _paq.push(["enableLinkTracking"]); var u=(("https:" == document.location.protocol) ? "https" : "http") + "://piwik.fsf.org/"; _paq.push(["setTrackerUrl", u+"piwik.php"]); _paq.push(["setSiteId", "10"]); - var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript"; + var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s); })(); diff --git a/2021/includes/common_js.html b/2021/includes/common_js.html index 9cedb4b9..e4438dcb 100644 --- a/2021/includes/common_js.html +++ b/2021/includes/common_js.html @@ -1,9 +1,6 @@ - - - + + + diff --git a/2021/includes/livestream_js.html b/2021/includes/livestream_js.html index 32598ed9..25329548 100644 --- a/2021/includes/livestream_js.html +++ b/2021/includes/livestream_js.html @@ -1,3 +1,3 @@ - diff --git a/2021/includes/program_js.html b/2021/includes/program_js.html index 02e6ad57..3b4a320f 100644 --- a/2021/includes/program_js.html +++ b/2021/includes/program_js.html @@ -128,6 +128,6 @@ } - diff --git a/2021/includes/safe_space_js.html b/2021/includes/safe_space_js.html index 98cc3a53..3e1b5aee 100644 --- a/2021/includes/safe_space_js.html +++ b/2021/includes/safe_space_js.html @@ -1,3 +1,3 @@ - diff --git a/2021/includes/sidebar.html b/2021/includes/sidebar.html index 012d2aec..10e7a070 100644 --- a/2021/includes/sidebar.html +++ b/2021/includes/sidebar.html @@ -20,7 +20,7 @@