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'});
|
2022-04-21 05:09:22 +08:00
|
|
|
|
|
|
|
/* copy image alt tags in config option page as title for hover text tool tip by browser */
|
|
|
|
$("div#scenario-configuration-options img[alt]").each(function(){
|
|
|
|
$(this).attr('title', $(this).attr('alt'));
|
|
|
|
});
|
2018-08-01 02:54:09 +08:00
|
|
|
});
|