var gform;gform||(document.addEventListener("gform_main_scripts_loaded",function(){gform.scriptsLoaded=!0}),document.addEventListener("gform/theme/scripts_loaded",function(){gform.themeScriptsLoaded=!0}),window.addEventListener("DOMContentLoaded",function(){gform.domLoaded=!0}),gform={domLoaded:!1,scriptsLoaded:!1,themeScriptsLoaded:!1,isFormEditor:()=>"function"==typeof InitializeEditor,callIfLoaded:function(o){return!(!gform.domLoaded||!gform.scriptsLoaded||!gform.themeScriptsLoaded&&!gform.isFormEditor()||(gform.isFormEditor()&&console.warn("The use of gform.initializeOnLoaded() is deprecated in the form editor context and will be removed in Gravity Forms 3.1."),o(),0))},initializeOnLoaded:function(o){gform.callIfLoaded(o)||(document.addEventListener("gform_main_scripts_loaded",()=>{gform.scriptsLoaded=!0,gform.callIfLoaded(o)}),document.addEventListener("gform/theme/scripts_loaded",()=>{gform.themeScriptsLoaded=!0,gform.callIfLoaded(o)}),window.addEventListener("DOMContentLoaded",()=>{gform.domLoaded=!0,gform.callIfLoaded(o)}))},hooks:{action:{},filter:{}},addAction:function(o,r,e,t){gform.addHook("action",o,r,e,t)},addFilter:function(o,r,e,t){gform.addHook("filter",o,r,e,t)},doAction:function(o){gform.doHook("action",o,arguments)},applyFilters:function(o){return gform.doHook("filter",o,arguments)},removeAction:function(o,r){gform.removeHook("action",o,r)},removeFilter:function(o,r,e){gform.removeHook("filter",o,r,e)},addHook:function(o,r,e,t,n){null==gform.hooks[o][r]&&(gform.hooks[o][r]=[]);var d=gform.hooks[o][r];null==n&&(n=r+"_"+d.length),gform.hooks[o][r].push({tag:n,callable:e,priority:t=null==t?10:t})},doHook:function(r,o,e){var t;if(e=Array.prototype.slice.call(e,1),null!=gform.hooks[r][o]&&((o=gform.hooks[r][o]).sort(function(o,r){return o.priority-r.priority}),o.forEach(function(o){"function"!=typeof(t=o.callable)&&(t=window[t]),"action"==r?t.apply(null,e):e[0]=t.apply(null,e)})),"filter"==r)return e[0]},removeHook:function(o,r,t,n){var e;null!=gform.hooks[o][r]&&(e=(e=gform.hooks[o][r]).filter(function(o,r,e){return!!(null!=n&&n!=o.tag||null!=t&&t!=o.priority)}),gform.hooks[o][r]=e)}});
var ctPublicFunctions = {"_ajax_nonce":"6e0ce58a8b","_rest_nonce":"0f3b077916","_ajax_url":"\/wp-admin\/admin-ajax.php","_rest_url":"https:\/\/brasherattorney.com\/wp-json\/","data__cookies_type":"alternative","data__ajax_type":"rest","bot_detector_enabled":false,"data__frontend_data_log_enabled":1,"cookiePrefix":"","wprocket_detected":false,"host_url":"brasherattorney.com","text__ee_click_to_select":"Click to select the whole data","text__ee_original_email":"The complete one is","text__ee_got_it":"Got it","text__ee_blocked":"Blocked","text__ee_cannot_connect":"Cannot connect","text__ee_cannot_decode":"Can not decode email. Unknown reason","text__ee_email_decoder":"CleanTalk email decoder","text__ee_wait_for_decoding":"The magic is on the way!","text__ee_decoding_process":"Please wait a few seconds while we decode the contact data."}
var ctPublic = {"_ajax_nonce":"6e0ce58a8b","settings__forms__check_internal":"0","settings__forms__check_external":"0","settings__forms__force_protection":0,"settings__forms__search_test":"1","settings__forms__wc_add_to_cart":"0","bot_detector_enabled":false,"settings__sfw__anti_crawler":0,"blog_home":"https:\/\/brasherattorney.com\/","pixel__setting":"3","pixel__enabled":true,"pixel__url":"https:\/\/moderate14-v4.cleantalk.org\/pixel\/e36371665bbc0401258689e56899c828.gif","data__email_check_before_post":"1","data__email_check_exist_post":0,"data__cookies_type":"alternative","data__key_is_ok":true,"data__visible_fields_required":true,"wl_brandname":"Anti-Spam by CleanTalk","wl_brandname_short":"CleanTalk","ct_checkjs_key":"276ad9ccb800a4b4575cf776176fe7de4b3e0e8a9b69015927c632c6269df5e8","emailEncoderPassKey":"837592ad2cca662f25e55e63bb1ea563","bot_detector_forms_excluded":"W10=","advancedCacheExists":true,"varnishCacheExists":true,"wc_ajax_add_to_cart":false}
var breeze_prefetch = {"local_url":"https://brasherattorney.com","ignore_remote_prefetch":"1","ignore_list":["wp-admin","wp-login.php"]}; //# sourceURL=breeze-prefetch-js-extra
https://brasherattorney.com/wp-content/plugins/breeze/assets/js/js-front-end/breeze-prefetch-links.min.js
https://brasherattorney.com/wp-content/plugins/cleantalk-spam-protect/js/apbct-public-bundle_gathering.min.js
function my_enqueued_assets() { wp_deregister_script( 'jquery' ); wp_enqueue_script( 'script-name', '//code.jquery.com/jquery-2.2.3.min.js', array(), '2.2.3' ); } add_action( 'wp_enqueue_scripts', 'my_enqueued_assets' ); <script>!function(s,a,e,v,n,t,z){if(s.saq)return;n=s.saq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!s._saq)s._saq=n; n.push=n;n.loaded=!0;n.version='1.0';n.queue=[];t=a.createElement(e);t.async=!0;t.src=v;z=a.getElementsByTagName(e)[0];z.parentNode.insertBefore(t,z)}(window,document,'script','https://tags.srv.stackadapt.com/events.js');saq('ts', 'Lt2v7GTJM0SWYteG3eMngA');
CLOSE
Brasher Law Firm
  • About
    • Clint Brasher
    • Joseph A. Muckleroy
    • Nishi Kothari
  • Bad Faith Insurance
    • Natural Disaster Claims
      • Hurricane Damage
        • Hurricane Beryl Claims
        • Hurricane Ida Claims
      • Storm Damage
        • Tropical Storm Hermine Claims
        • Derecho Storm Claims
      • Snow & Ice Storm Damage
      • Hail Storm Damage
      • Tornado Damage
    • Insurance Claim Disputes
      • Property Damage
        • Residential
          • Fire Damage Claims
          • Pipe burst insurance claims
          • Roof Damage Claims
          • Water Damage Claims
        • Commercial
    • Frequently Asked Questions
      • What is Bad Faith Insurance?
      • Do I Have a Bad Faith Claim?
      • How to File a Claim
      • Why Hire an Attorney ?
    • Bad Faith Insurance Litigation
    • TWIA Insurance Claims Lawyers
    • Insurance Coverage
    • Property Damage Checklist
  • Personal Injury
    • Car Accidents
      • Driver Distractions
      • Drunk Driving Accidents
      • Head-On Collisions
      • Rear-End Accidents
      • Rollover Accidents
      • T-Bone Accidents
      • Texting While Driving
      • Uninsured Motorist Claims
    • Truck Accidents
      • Accidents Caused by Parked Trucks
      • Dump Truck Accidents
      • Truck Driver Intoxication
      • Truck Driver Negligence
      • Underride Accidents
      • Weight & Speed of 18 Wheelers
    • Motorcycle Accidents
    • Insurance Claims
    • Offshore Accidents
      • Barge Injuries
      • Jones Act Seamen Injuries
      • Maritime Law
      • Offshore Drilling Injuries
    • Catastrophic Injuries
      • Broken Bones
      • Foot Injuries
      • Loss of Limb
      • Neck and Back Injuries
      • Spinal Cord Injuries
      • Traumatic Brain Injuries
    • Parking Lot Injuries
    • Slip & Fall Accidents
    • Wrongful Death
  • Testimonials
  • Blog
  • Contact
    • Office Locations
      • Beaumont, TX
      • Houston, TX
      • Frisco, TX
      • Houma, LA
      • Lake Charles, LA
      • New Orleans, LA
Link Toggle For Search
Español
(888) 989-2889
Menu

    Brasher Law Firm Sues Hartford for COVID-19 Business Interruption Denial

    • April 24, 2020
    • / In business interruption claims, covid-19, insurance bad faith, insurance claim denial

    Brasher Law Firm filed a lawsuit against The Hartford insurance group and its subsidiary for failing to pay a business interruption claim due to business closure.  The business, Risinger Nelson Orthodontics, was forced to close due to State and County Orders as well as guidance from the American Dental Association.  The practice purchased insurance to cover business interruption due governmental […]

    Continue Reading

    Does my Insurance Cover Loss of Business Income due to COVID-19?

    • April 16, 2020

      We know a lot of businesses are struggling right now, and are wondering how they can stay in business and pay their employees at the same time. As businesses across the state and country are forced to shut down,  business owners right now are asking: does my insurance policy cover my loss of business income because of COVID-19? The […]

    Continue Reading

    Brasher Law Firm’s Statement on COVID-19 and TX State of Emergency Declaration

    • March 21, 2020

    We know these are trying and unprecedented times and there is a lot of uncertainty as to what you can and cannot do right now. Effective midnight yesterday, Governor Abbott declared a state of emergency for the State of Texas, and issued an Executive Order, which imposes certain restrictions on all Texans. This restricts gatherings of no more than 10 […]

    Continue Reading

    FEMA: TS Imelda a Major Disaster for 6 Counties

    • October 23, 2019
    • / In recent

    FEMA MAJOR DISASTER DECLARATION OPENS AID FOR SETXans FEMA Aid Update:  Chambers, Harris, Jefferson, Liberty, Montgomery, and Orange Counties have been designated as Major Disaster areas are citizens of those communities can apply for assistance from FEMA whether they have flood insurance or not.  The application window opened October 5, 2019 and will run through February 28, 2021.  Below is […]

    Continue Reading

    Tropical Storm Imelda – Flood Insurance Proof of Loss Requirement

    • October 22, 2019
    • / In recent

    Proof of Loss Form Tropical Storm Imelda Proof of Loss Requirements – Deadline November 16, 2019 While Tropical Storm Imelda snuck up on a lot of us here in Southeast Texas, don’t let the deadline to file your Proof of Loss sneak up on you. Under a flood policy, you have 60 days from the flood to file a Proof […]

    Continue Reading

    Brasher Law Firm Helps Local Business Get Paid for Its Harvey Losses

    • July 23, 2019

    Cocomo Joe’s is a well-known local business that has served Southeast Texas for a number of years. While its building did not flood in Hurricane Harvey, Joe’s did suffer water damage from a roof failure. Joes filed a claim with its insurance company but was met with a denial. That is where we came in. After an investigation of the […]

    Continue Reading

    Brasher Law Firm Lawyers Selected to 2019 Texas Super Lawyer Lists

    • July 5, 2019
    • / In super lawyers

    Congratulations to Clint and Nishi for being selected again in Texas Super Lawyers.

    Continue Reading

    Brasher Law Firm Gets Local Resident Riding Again

    • July 5, 2019
    • / In denied claim, insurance bad faith, insurance claim denial

    Hurricane Harvey caused mayhem in Southeast Texas.  And, while struggling to repair a flooded home, many Southeast Texans could at least find solace in a prompt adjustment of their flooded vehicle.  That was the case for Mr. Magee – at least for one of the cars in his garage.  Parked next to his flooded Nissan Altima was his Suzuki Bergman […]

    Continue Reading

    Early Voting Underway for Nov. 2018 Elections

    • October 31, 2018

    Early voting has begun for the Texas November 2018 midterm elections. Early voting will continue until Friday, November 2, 2018. During early voting, you can cast your ballot at any polling location that is open during early voting. Jefferson County: For Jefferson County residents, you can cast your ballot and vote early at the following polling locations. The polling locations […]

    Continue Reading

    Brasher Law Firm Hosting Houston Informational Session

    • September 7, 2017

    Insurance claims can be daunting, especially after a disaster has taken so much from so many.  Brasher Law Firm is committed to providing residents throughout Southeast Texas with the support to get through these trying times. For the victims of Hurricane Harvey in the Houston area, Brasher Law Firm will host a seminar to provide information and resources to help […]

    Continue Reading
  • Recent Posts
    • Brasher Law Firm Partners Earn Repeat Honors from Texas Super Lawyers
    • The Brasher Bulletin – April 2026
    • Brasher Law Firm Places Three on Lawdragon Plaintiff Financial Lawyers Guide
    • The Brasher Bulletin – February/March 2026
    • Brasher Law Firm Attorneys Earn Repeat Placement on Lawdragon 500 Leading Plaintiff Consumer Lawyers List
  • Categories
    • Articles
    • Bad Faith Insurance
    • Cancellation of a Policy
    • Car Accidents
    • Failure to Investigate a Claim
    • Hail Storm Damage
    • Hurricane Damage
    • Injury Claims
    • Insurance Claims
    • Motor Vehicle Accidents
    • News
    • Plant and Industrial Accidents
    • Press Releases
    • Property Damage
    • The Brasher Bulletin
    • Tornado Damage Claim

Posts pagination

← Newer Posts 1 2 3 4 5 6 7 8 9 Older Posts →

Get Help Today

  • This field is for validation purposes and should be left unchanged.

Do I Have a Bad Faith Claim?

Insight From Texas Bad Faith Insurance Lawyers Texas law mandates that all insurance companies provide their insured with a certain fiduciary obligation. This means that insurance companies are required to…
Read Now

How Much is My Personal Injury Claim Worth?

While there is no guaranteed calculator to assign an exact monetary value to your personal injury claim, you can analyze the circumstances of your case to get a general idea…
Read Now
  • Facebook Icon
  • Twitter Icon
  • LinkedIn Icon

Beaumont Office
Main Office

1122 Orleans St.
Beaumont, TX 77701
(888) 989-2889

New Orleans Office
1555 Poydras Street, Suite 1600
New Orleans, LA 70112
(504) 527-8291

Dallas Office
6160 Warren Parkway, Suite 100
Frisco, TX 75034
(972) 928-0517

Houston Office
3555 Timmons Lane, Suite 1130
Houston, TX 77027
(713) 714-5014

Lake Charles Office
2201 Oak Park Blvd,
Lake Charles, LA 70601
(337)-284-9998

Houma Office
306 Grinage St.
Houma, LA 70360
(985) 261-2880

© 2026

  • Home
  • Disclaimer
  • Privacy Policy
  • Sitemap
gform.initializeOnLoaded( function() {gformInitSpinner( 3, 'https://brasherattorney.com/wp-content/plugins/gravityforms/images/spinner.svg', true );jQuery('#gform_ajax_frame_3').on('load',function(){var contents = jQuery(this).contents().find('*').html();var is_postback = contents.indexOf('GF_AJAX_POSTBACK') >= 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find('#gform_wrapper_3');var is_confirmation = jQuery(this).contents().find('#gform_confirmation_wrapper_3').length > 0;var is_redirect = contents.indexOf('gformRedirect(){') >= 0;var is_form = form_content.length > 0 && ! is_redirect && ! is_confirmation;var mt = parseInt(jQuery('html').css('margin-top'), 10) + parseInt(jQuery('body').css('margin-top'), 10) + 100;if(is_form){jQuery('#gform_wrapper_3').html(form_content.html());if(form_content.hasClass('gform_validation_error')){jQuery('#gform_wrapper_3').addClass('gform_validation_error');} else {jQuery('#gform_wrapper_3').removeClass('gform_validation_error');}setTimeout( function() { /* delay the scroll by 50 milliseconds to fix a bug in chrome */ }, 50 );if(window['gformInitDatepicker']) {gformInitDatepicker();}if(window['gformInitPriceFields']) {gformInitPriceFields();}var current_page = jQuery('#gform_source_page_number_3').val();gformInitSpinner( 3, 'https://brasherattorney.com/wp-content/plugins/gravityforms/images/spinner.svg', true );jQuery(document).trigger('gform_page_loaded', [3, current_page]);window['gf_submitting_3'] = false;}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find('.GF_AJAX_POSTBACK').html();if(!confirmation_content){confirmation_content = contents;}jQuery('#gform_wrapper_3').replaceWith(confirmation_content);jQuery(document).trigger('gform_confirmation_loaded', [3]);window['gf_submitting_3'] = false;wp.a11y.speak(jQuery('#gform_confirmation_message_3').text());}else{jQuery('#gform_3').append(contents);if(window['gformRedirect']) {gformRedirect();}}jQuery(document).trigger("gform_pre_post_render", [{ formId: "3", currentPage: "current_page", abort: function() { this.preventDefault(); } }]); if (event && event.defaultPrevented) { return; } const gformWrapperDiv = document.getElementById( "gform_wrapper_3" ); if ( gformWrapperDiv ) { const visibilitySpan = document.createElement( "span" ); visibilitySpan.id = "gform_visibility_test_3"; gformWrapperDiv.insertAdjacentElement( "afterend", visibilitySpan ); } const visibilityTestDiv = document.getElementById( "gform_visibility_test_3" ); let postRenderFired = false; function triggerPostRender() { if ( postRenderFired ) { return; } postRenderFired = true; gform.core.triggerPostRenderEvents( 3, current_page ); if ( visibilityTestDiv ) { visibilityTestDiv.parentNode.removeChild( visibilityTestDiv ); } } function debounce( func, wait, immediate ) { var timeout; return function() { var context = this, args = arguments; var later = function() { timeout = null; if ( !immediate ) func.apply( context, args ); }; var callNow = immediate && !timeout; clearTimeout( timeout ); timeout = setTimeout( later, wait ); if ( callNow ) func.apply( context, args ); }; } const debouncedTriggerPostRender = debounce( function() { triggerPostRender(); }, 200 ); if ( visibilityTestDiv && visibilityTestDiv.offsetParent === null ) { const observer = new MutationObserver( ( mutations ) => { mutations.forEach( ( mutation ) => { if ( mutation.type === 'attributes' && visibilityTestDiv.offsetParent !== null ) { debouncedTriggerPostRender(); observer.disconnect(); } }); }); observer.observe( document.body, { attributes: true, childList: false, subtree: true, attributeFilter: [ 'style', 'class' ], }); } else { triggerPostRender(); } } );} );
document.addEventListener('DOMContentLoaded', function () { setTimeout(function(){ if( document.querySelectorAll('[name^=ct_checkjs]').length > 0 ) { if (typeof apbct_public_sendREST === 'function' && typeof apbct_js_keys__set_input_value === 'function') { apbct_public_sendREST( 'js_keys__get', { callback: apbct_js_keys__set_input_value }) } } },0) })
https://brasherattorney.com/wp-content/plugins/responsive-accordion-and-collapse/js/accordion-custom.js
https://brasherattorney.com/wp-content/plugins/responsive-accordion-and-collapse/js/accordion.js
https://brasherattorney.com/wp-content/themes/Brasher/public/js/foundation.js
https://brasherattorney.com/wp-content/themes/Brasher/public/js/app.js
https://brasherattorney.com/wp-content/plugins/breeze/assets/js/js-front-end/breeze-lazy-load.min.js
document.addEventListener("DOMContentLoaded", function () { if ( "function" !== typeof window.LazyLoad && "function" !== typeof LazyLoad ) { return; }var breezeLazyLoad = window.LazyLoad || LazyLoad;window.lazyLoadInstance = new breezeLazyLoad({ elements_selector: ".br-lazy", data_src: "breeze", data_srcset: "brsrcset", data_sizes: "brsizes", class_loaded: "br-loaded", threshold: 300, }); }); //# sourceURL=breeze-lazy-js-after
https://brasherattorney.com/wp-includes/js/dist/dom-ready.min.js
https://brasherattorney.com/wp-includes/js/dist/hooks.min.js
https://brasherattorney.com/wp-includes/js/dist/i18n.min.js
wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } ); //# sourceURL=wp-i18n-js-after
https://brasherattorney.com/wp-includes/js/dist/a11y.min.js
https://brasherattorney.com/wp-content/plugins/gravityforms/js/jquery.json.min.js
var gform_i18n = {"datepicker":{"days":{"monday":"Mo","tuesday":"Tu","wednesday":"We","thursday":"Th","friday":"Fr","saturday":"Sa","sunday":"Su"},"months":{"january":"January","february":"February","march":"March","april":"April","may":"May","june":"June","july":"July","august":"August","september":"September","october":"October","november":"November","december":"December"},"firstDay":1,"iconText":"Select date"}}; var gf_legacy_multi = []; var gform_gravityforms = {"strings":{"invalid_file_extension":"This type of file is not allowed. Must be one of the following:","delete_file":"Delete this file","in_progress":"in progress","file_exceeds_limit":"File exceeds size limit","illegal_extension":"This type of file is not allowed.","max_reached":"Maximum number of files reached","unknown_error":"There was a problem while saving the file on the server","currently_uploading":"Please wait for the uploading to complete","cancel":"Cancel","cancel_upload":"Cancel this upload","cancelled":"Cancelled","error":"Error","message":"Message"},"vars":{"images_url":"https://brasherattorney.com/wp-content/plugins/gravityforms/images"}}; var gf_global = {"gf_currency_config":{"name":"U.S. Dollar","symbol_left":"$","symbol_right":"","symbol_padding":"","thousand_separator":",","decimal_separator":".","decimals":2,"code":"USD"},"base_url":"https://brasherattorney.com/wp-content/plugins/gravityforms","number_formats":[],"spinnerUrl":"https://brasherattorney.com/wp-content/plugins/gravityforms/images/spinner.svg","version_hash":"2738d13cd2d2f1d993adc5c6bf3135ec","strings":{"newRowAdded":"New row added.","rowRemoved":"Row removed","formSaved":"The form has been saved. The content contains the link to return and complete the form."}}; //# sourceURL=gform_gravityforms-js-extra
https://brasherattorney.com/wp-content/plugins/gravityforms/js/gravityforms.min.js
https://brasherattorney.com/wp-content/plugins/gravityforms/js/jquery.maskedinput.min.js
https://brasherattorney.com/wp-content/plugins/gravityforms/assets/js/dist/utils.min.js
https://brasherattorney.com/wp-content/plugins/gravityforms/assets/js/dist/vendor-theme.min.js
var gform_theme_config = {"common":{"form":{"honeypot":{"version_hash":"2738d13cd2d2f1d993adc5c6bf3135ec"},"ajax":{"ajaxurl":"https://brasherattorney.com/wp-admin/admin-ajax.php","ajax_submission_nonce":"9c071744b1","i18n":{"step_announcement":"Step %1$s of %2$s, %3$s","unknown_error":"There was an unknown error processing your request. Please try again.","error_403":"The request was blocked (403 error) for unknown security reasons. Remove any code-like text (scripts or DB queries) and try again."}}}},"hmr_dev":"","public_path":"https://brasherattorney.com/wp-content/plugins/gravityforms/assets/js/dist/","config_nonce":"54f9404056"}; //# sourceURL=gform_gravityforms_theme-js-extra
https://brasherattorney.com/wp-content/plugins/gravityforms/assets/js/dist/scripts-theme.min.js
gform.initializeOnLoaded( function() { jQuery(document).on('gform_post_render', function(event, formId, currentPage){if(formId == 3) {jQuery('#input_3_2').mask('(999) 999-9999').bind('keypress', function(e){if(e.which == 13){jQuery(this).blur();} } );} } );jQuery(document).on('gform_post_conditional_logic', function(event, formId, fields, isInit){} ) } );
gform.initializeOnLoaded( function() {jQuery(document).trigger("gform_pre_post_render", [{ formId: "3", currentPage: "1", abort: function() { this.preventDefault(); } }]); if (event && event.defaultPrevented) { return; } const gformWrapperDiv = document.getElementById( "gform_wrapper_3" ); if ( gformWrapperDiv ) { const visibilitySpan = document.createElement( "span" ); visibilitySpan.id = "gform_visibility_test_3"; gformWrapperDiv.insertAdjacentElement( "afterend", visibilitySpan ); } const visibilityTestDiv = document.getElementById( "gform_visibility_test_3" ); let postRenderFired = false; function triggerPostRender() { if ( postRenderFired ) { return; } postRenderFired = true; gform.core.triggerPostRenderEvents( 3, 1 ); if ( visibilityTestDiv ) { visibilityTestDiv.parentNode.removeChild( visibilityTestDiv ); } } function debounce( func, wait, immediate ) { var timeout; return function() { var context = this, args = arguments; var later = function() { timeout = null; if ( !immediate ) func.apply( context, args ); }; var callNow = immediate && !timeout; clearTimeout( timeout ); timeout = setTimeout( later, wait ); if ( callNow ) func.apply( context, args ); }; } const debouncedTriggerPostRender = debounce( function() { triggerPostRender(); }, 200 ); if ( visibilityTestDiv && visibilityTestDiv.offsetParent === null ) { const observer = new MutationObserver( ( mutations ) => { mutations.forEach( ( mutation ) => { if ( mutation.type === 'attributes' && visibilityTestDiv.offsetParent !== null ) { debouncedTriggerPostRender(); observer.disconnect(); } }); }); observer.observe( document.body, { attributes: true, childList: false, subtree: true, attributeFilter: [ 'style', 'class' ], }); } else { triggerPostRender(); } } );