2020-06-17 21:35:37 +08:00
|
|
|
/* Extra acrn-specific javascript */
|
2018-08-01 02:54:09 +08:00
|
|
|
|
|
|
|
$(document).ready(function(){
|
2020-06-17 21:35:37 +08:00
|
|
|
/* tweak logo link to the marketing site instead of doc site */
|
|
|
|
$( ".icon-home" ).attr({href: "https://projectacrn.org/", target: "_blank"});
|
|
|
|
|
|
|
|
/* open external links in a new tab */
|
|
|
|
$('a[class*=external]').attr({target: '_blank', rel: 'noopener'});
|
2018-08-01 02:54:09 +08:00
|
|
|
});
|
2020-04-08 06:54:34 +08:00
|
|
|
|
|
|
|
/* Global site tag (gtag.js) - Google Analytics */
|
|
|
|
window.dataLayer = window.dataLayer || [];
|
|
|
|
function gtag(){dataLayer.push(arguments);}
|
|
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'UA-831873-64');
|