Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Character template show/hide

a guest Sep 3rd, 2016 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $(function() {
  2.     if ( $( '.clickMe' ).length ) {
  3.         $( '.clickMe:not(.bound)' ).click( function () {
  4.             $( this ).find( '.clickMeTarget' ).toggle( 'slow' );
  5.         }).addClass( 'bound' );
  6.     }
  7.     var target = document.querySelector( '#WikiaArticleComments' ),
  8.         observer = new MutationObserver( function ( mutations ) {
  9.             if ( $( '#WikiaArticleComments .mw-collapsible' ) ) {
  10.                 console.log( 'Comment(s) loaded. Collapsing tables.' );
  11.                 $( '#WikiaArticleComments .mw-collapsible' ).makeCollapsible();
  12.                 $( '#WikiaArticleComments .mw-collapsible-toggle' ).css( 'float', 'right' );
  13.             }
  14.  
  15.             if ( $( '.clickMe' ).length ) {
  16.                 $( '.clickMe:not(.bound)' ).click( function () {
  17.                     $( this ).find( '.clickMeTarget' ).toggle( 'slow' );
  18.                 }).addClass( 'bound' );
  19.             }
  20.         }),
  21.         config = { childList: true, subtree: true };
  22.     if ( target == null )
  23.         return;
  24.  
  25.     observer.observe( target, config );
  26. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top