PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/v1world.us/wp-content/themes/twentytwentyone/assets/js/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //home/trave494/v1world.us/wp-content/themes/twentytwentyone/assets/js/editor.js |
/* global setTimeout */ wp.domReady( function() { // Unregister "Wide" Separator Style. wp.blocks.unregisterBlockStyle( 'core/separator', 'wide' ); // Add to ".block-editor__typewriter" the "is-dark-theme" class if needed. function twentytwentyoneCopyDarkThemeClass() { var editor, attemptDelay = 25, attempt = 0, maxAttempts = 10; if ( ! document.body.classList.contains( 'is-dark-theme' ) ) { return; } editor = document.querySelector( '.block-editor__typewriter' ); if ( null === editor ) { // Try again. if ( attempt < maxAttempts ) { setTimeout( function() { twentytwentyoneCopyDarkThemeClass(); }, attemptDelay ); // Increment the attempts counter. attempt++; // Double the delay, give the server some time to breathe. attemptDelay *= 2; } return; } editor.classList.add( 'is-dark-theme' ); } twentytwentyoneCopyDarkThemeClass(); } );