From 9900771aa7f1b3ddcee49aec84082104776ace70 Mon Sep 17 00:00:00 2001 From: fat Date: Mon, 12 May 2014 19:15:23 -0700 Subject: [PATCH] fixes #12211: Scrollspy: Navs in different tabs can interfere with each othe --- js/scrollspy.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/scrollspy.js b/js/scrollspy.js index 1f91535526..4ba733e787 100644 --- a/js/scrollspy.js +++ b/js/scrollspy.js @@ -46,6 +46,7 @@ this.$body .find(this.selector) + .filter(':visible') .map(function () { var $el = $(this) var href = $el.data('target') || $el.attr('href')