Here is the fix my friend. It is a bit mouthful, so if anyone have a more straightforward fix please go ahead. In the mean time this'll get it fixed.
$(document).ready(function () {
$(".wrapper").scrollspy({ target: ".scrollspy" });
var scollSpy2ActiveLI = "";
$('.wrapper').on('activate.bs.scrollspy', function () {
if (scollSpy2ActiveLI != "") {
scollSpy2ActiveLI.removeClass('active');
}
var activeTab = $('.scrollspy li.active a').attr('href');
scollSpy2ActiveLI = $('.scrollspy2 li a[href="' + activeTab + '"]').parent();
scollSpy2ActiveLI.addClass('active');
})
$('.wrapper').trigger('activate.bs.scrollspy');
});
Notice I am using .scrollspy2
for your second nav.
Here is the fiddle: http://jsfiddle.net/jofrysutanto/MUpz5/1/