HEX
Server: LiteSpeed
System: Linux altar40.supremepanel40.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: sescorpcl (4477)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: /home/sescorpcl/public_html/wp-content/plugins/ninja-forms/assets/js/lib/blockFrameSetup.js
/**
 * This file is used by form block iFrame
 *
 * It was created with original block, it is still used by refactored block.
 */
(function() {
    jQuery(document).on( 'nfFormReady', function(){
        var frameEl = window.frameElement;

        // get the form element
        var $form = jQuery("#nf-form-" + ninjaFormsBlockSetup.form_id + "-cont");
        // get the height of the form
        var height = $form.find( '.ninja-forms-form-wrap' ).outerHeight(true);

        if (frameEl) {
            // add 125 to height b/c the submit button was missing
            frameEl.height = height + 125;
        }
    });
 
 })();