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/popup-bu.../public/js
File: Banner.js
function SGPBBanner(){}
[0] Fix | Delete
SGPBBanner.prototype.init=function(){this.callFeedbackPopup();this.closeFeedbackPopup();this.close();this.closeLicenseNotice();};SGPBBanner.prototype.closeFeedbackPopup=function()
[1] Fix | Delete
{if(!jQuery('#sgpb-feedback-popup').length){return;}
[2] Fix | Delete
var hideFeedbackPopup=function(){jQuery('#sgpb-feedback-popup .js-sgpb-add-spinner').addClass('sg-hide-element');jQuery('#sgpb-feedback-popup').removeClass('sgpb-show-feedback-popup');}
[3] Fix | Delete
jQuery('#sgpb-feedback-popup .sgpb-subscriber-data-popup-close-btn-js').bind('click',function(){hideFeedbackPopup();});document.onkeydown=function(e){e=e||window.event;if(e.keyCode===27){hideFeedbackPopup();}};};SGPBBanner.prototype.callFeedbackPopup=function()
[4] Fix | Delete
{if(!jQuery('#sgpb-feedback-popup').length){return;}
[5] Fix | Delete
jQuery('.sgpb-feedback-error-message').addClass('sg-hide-element');var deactivateLink=jQuery('#the-list').find('[data-slug="popup-builder"] span.deactivate a'),dialog=jQuery('#sgpb-feedback-popup'),dialogForm=jQuery('#sgpb-deactivate-feedback-dialog-form');deactivateLink.bind('click',function(e){var deactivationLink=jQuery(this).attr('href');e.preventDefault();dialog.addClass('sgpb-show-feedback-popup');jQuery('.sgpb-deactivate-feedback-dialog-input').bind('click',function(){jQuery('.sgpb-feedback-text-input').hide();jQuery(this).parent().next().find('.sgpb-feedback-text-input').show();});jQuery('.sgpb-feedback-submit-skip').click(function(){window.location.href=deactivationLink;return;});jQuery('.sgpb-feedback-submit').click(function(){if(!jQuery('.sgpb-deactivate-feedback-dialog-input').is(':checked')){jQuery('.sgpb-feedback-error-message').removeClass('sg-hide-element');return;}
[6] Fix | Delete
var formData=dialogForm.serialize();var ajaxData={action:'sgpb_deactivate_feedback',nonce:SGPB_JS_PARAMS.nonce,beforeSend:function(){jQuery(this).attr('disabled','disabled');jQuery('.sgpb-feedback-error-message').addClass('sg-hide-element');jQuery('.js-sgpb-add-spinner').removeClass('sg-hide-element');},formData:formData};jQuery.post(SGPB_JS_PARAMS.url,ajaxData,function(res){window.location.href=deactivationLink;});});});};SGPBBanner.prototype.close=function()
[7] Fix | Delete
{if(!jQuery('.sgpb-banner-wrapper').length){return;}
[8] Fix | Delete
jQuery('.sgpb-info-close').click(function(){jQuery('.sgpb-banner-wrapper').remove();});};SGPBBanner.prototype.closeLicenseNotice=function()
[9] Fix | Delete
{if(!jQuery('.sgpb-extensions-notices').length){return;}
[10] Fix | Delete
jQuery('.sgpb-dont-show-again-license-notice').click(function(){var data={action:'sgpb_close_license_notice',nonce:SGPB_JS_PARAMS.nonce,};jQuery.post(ajaxurl,data,function(response){jQuery('.sgpb-extensions-notices').remove();});});};jQuery(document).ready(function(){var banner=new SGPBBanner();banner.init();});
[11] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function