p (Tekstin korvaus – ”<script src="//www.jarviwiki.fi/scripts/jwol3js/jwol3.js"></script>” muotoon ”<script src="//www.jarviwiki.fi/scripts/proj4js/dist/proj4.js"></script> <script src="//www.jarviwiki.fi/scripts/jwol3js/jwol3.js"></script>”) |
p (Tekstin korvaus – ”jQuery(window).load( function() { <!--{$id|default:CommonObsMap|escape:'html'}-->_func(); });” muotoon ”function <!--{$id|default:CommonObsMap|escape:'html'}-->_jQueryTest() { if ( typeof window.jQuery == 'undefined' ) { ) |
||
Rivi 21: | Rivi 21: | ||
var <!--{$id|default:CommonObsMap|escape:'html'}-->_memo = { 'SitesO': {}, 'TypesO': {}, 'obsTypeToShow': '' }; | var <!--{$id|default:CommonObsMap|escape:'html'}-->_memo = { 'SitesO': {}, 'TypesO': {}, 'obsTypeToShow': '' }; | ||
function <!--{$id|default:CommonObsMap|escape:'html'}-->_jQueryTest() { | |||
if ( typeof window.jQuery == 'undefined' ) { | |||
setTimeout( function(){ <!--{$id|default:CommonObsMap|escape:'html'}-->_jQueryTest() }, 300); | |||
} else { | |||
<!--{$id|default:CommonObsMap|escape:'html'}-->_func(); | |||
} | |||
} | |||
setTimeout( function(){ <!--{$id|default:CommonObsMap|escape:'html'}-->_jQueryTest() }, 300); | |||
function <!--{$id|default:CommonObsMap|escape:'html'}-->_func() { | function <!--{$id|default:CommonObsMap|escape:'html'}-->_func() { |