Show scrollbar on open item without ajaxcall

StatusIDPriorityType
Closed21478HighContent Timeline jQuery
Profile Reply
karlienfabre Client

Dear, 
I’m using the timelineFlatBlog and set my detail content of an item direct in the html. When the content is too long for the blog item, there is no scrollbar showing up. (before I was using an ajaxcall and then there is one when the content is too long.). 

To have a scrollbar there is this piece of code

    $(‘#myTimeline’).on(‘ajaxLoaded.timeline’, function(e){
      var height = e.element.height()-60-e.element.find(‘h2′).height();
      e.element.find(‘.timeline_open_content span’).css(‘max-height’, height).mCustomScrollbar({
        autoHideScrollbar:true,
        theme:”light-thin”
      }); 
    });

But because I don’t have an ajaxcall the event is not triggered. How do I trigger the scrollbar without an ajaxcall. 
website: http://karlienfabre.be/bas-cms/
thx!

× This ticket is closed.