Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/ninja-fo.../assets/js/lib
File: blockFrameSetup.js
/**
[0] Fix | Delete
* This file is used by form block iFrame
[1] Fix | Delete
*
[2] Fix | Delete
* It was created with original block, it is still used by refactored block.
[3] Fix | Delete
*/
[4] Fix | Delete
(function() {
[5] Fix | Delete
jQuery(document).on( 'nfFormReady', function(){
[6] Fix | Delete
var frameEl = window.frameElement;
[7] Fix | Delete
[8] Fix | Delete
// get the form element
[9] Fix | Delete
var $form = jQuery("#nf-form-" + ninjaFormsBlockSetup.form_id + "-cont");
[10] Fix | Delete
// get the height of the form
[11] Fix | Delete
var height = $form.find( '.ninja-forms-form-wrap' ).outerHeight(true);
[12] Fix | Delete
[13] Fix | Delete
if (frameEl) {
[14] Fix | Delete
// add 125 to height b/c the submit button was missing
[15] Fix | Delete
frameEl.height = height + 125;
[16] Fix | Delete
}
[17] Fix | Delete
});
[18] Fix | Delete
[19] Fix | Delete
})();
[20] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function