From: Mohammed Buttu Date: Mon, 16 May 2011 16:55:54 +0000 (-0400) Subject: #332 Set async attribute to true for the script that brings in the LinkedIn API X-Git-Tag: v0.6~22 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=7e9ca99d4e27b505f31e4f358b9d9dbf83a7abd9;p=popcorn-js.git #332 Set async attribute to true for the script that brings in the LinkedIn API --- diff --git a/plugins/linkedin/popcorn.linkedin.js b/plugins/linkedin/popcorn.linkedin.js index bf29770..0ffdded 100644 --- a/plugins/linkedin/popcorn.linkedin.js +++ b/plugins/linkedin/popcorn.linkedin.js @@ -62,6 +62,7 @@ var linkedinAPIScript = document.createElement( 'script' ); linkedinAPIScript.setAttribute( 'src', "http://platform.linkedin.com/in.js" ); linkedinAPIScript.setAttribute( 'type', "text/javascript" ); + linkedinAPIScript.setAttribute( 'async', 'true' ); root.appendChild( linkedinAPIScript ); }()); }