Always getting mCS_no_scrollbar class when loading from ajax
<p>I am using <strong>jquery CustomScrollbar</strong> plugin.
Link <a href="http://manos.malihu.gr/jquery-custom-content-scroller/" rel="nofollow">http://manos.malihu.gr/jquery-custom-content-scroller/</a></p>

<p>I am loading my data through ajax.
The code is as below</p>

<pre><code>  $(window).load(function(){
        $(".top-heading-section3").mCustomScrollbar({
                advanced:{
                    updateOnContentResize: true
                }
            }
        );
    });
</code></pre>

<p>And when the ajax is complete i do :</p>

<pre><code>$(".top-heading-section3").mCustomScrollbar('update')
</code></pre>

<p>But still i get mCS_no_scrollbar class on all divs and the scrollbar is not coming.</p>

<p>Where am i going wrong?</p>