(Updated using PutPages.sh) |
|||
Line 2: | Line 2: | ||
function invertMap() { | function invertMap() { | ||
− | + | mapsLeafletList[0].map.setBearing(180); | |
+ | $('img[title*="Case:"]').addClass('mapicon-Case'); | ||
+ | $('img[title*="Webinar:"]').addClass('mapicon-Webinar'); | ||
+ | $('img[title*="Endorser:"]').addClass('mapicon-Endorser'); | ||
} | } | ||
Latest revision as of 18:49, 12 April 2024
/* Any JavaScript here will be loaded for all users on every page load. */ function invertMap() { mapsLeafletList[0].map.setBearing(180); $('img[title*="Case:"]').addClass('mapicon-Case'); $('img[title*="Webinar:"]').addClass('mapicon-Webinar'); $('img[title*="Endorser:"]').addClass('mapicon-Endorser'); } if(window.location.href.indexOf("Index") > -1) { setTimeout(invertMap, 500); }