Morris.js chart not working inside of a bootstrap tab
I have a situation where I am trying to use MorrisJS charts inside two different bootstrap tabs . The chart loads fine in the first (default) tab but when I click into the second tab the chart doesn't load properly at all. It is very odd as I am copying and pasting the exact same chart to be in the first and second tab but the second one isn't loading for me. Here is a link to a jsfiddle I setup. https://jsfiddle.net/phz0e68d/5/ Here is the code: HTML: <div> <!-- Nav tabs --> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"><a href="#home" aria-controls="home"