Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| (34 välissä olevaa versiota samalta käyttäjältä ei näytetä) | |||
| Rivi 9: | Rivi 9: | ||
} | } | ||
} | } | ||
setTimeout( function(){ <!--{$id|default:lakebarofix|escape:'html'}-->_jQueryTest() }, | setTimeout( function(){ <!--{$id|default:lakebarofix|escape:'html'}-->_jQueryTest() }, 100); | ||
function <!--{$id|default:lakebarofix|escape:'html'}-->_func() { | function <!--{$id|default:lakebarofix|escape:'html'}-->_func() { | ||
jQuery( '#firstHeading' ).html( ' | //jQuery( 'head' ).append( '<link rel="manifest" href="/w/resources/assets/katuma/katuma.webmanifest">' ); | ||
var name = "<!--{$name|default:X|escape:'html'}-->"; | |||
if ( name != 'X' ) { | |||
if ( jQuery( '#firstHeading' ).html() != 'Testijärvibarometri' ) { | |||
jQuery( '#firstHeading' ).html( name ); | |||
} | |||
} | |||
jQuery( '.jwCollapseClose' ).on( 'click', function() { | jQuery( '.jwCollapseClose' ).on( 'click', function() { | ||
| Rivi 27: | Rivi 35: | ||
}); | }); | ||
jQuery( '.mw-customtoggle' ).on( 'click', function() { | setTimeout( function() { jQuery( '.mw-customtoggle' ).on( 'click', function() { | ||
if ( !jQuery ( this ).parent( '.mw-collapsible' ).hasClass( 'mw-collapsed' ) ) { | |||
}); | for ( var c in window.jwobschart ) { | ||
window.jwobschartresize( window.jwobschart[ c ].memo ); | |||
} | |||
} | |||
}); }, 500 ); | |||
} | } | ||
</script> | </script> | ||
</includeonly> | </includeonly> | ||


