From bd0b6d16f83b72157f5b6335571b18792d33627b Mon Sep 17 00:00:00 2001 From: Steven Date: Wed, 7 Oct 2015 11:46:26 -0700 Subject: [PATCH] Adding test for scrollspy with target --- bootstrap/bootstrap-tests.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrap/bootstrap-tests.ts b/bootstrap/bootstrap-tests.ts index 71698101f..fa4409fe3 100644 --- a/bootstrap/bootstrap-tests.ts +++ b/bootstrap/bootstrap-tests.ts @@ -17,6 +17,7 @@ $('#myModal').modal('toggle'); $('.dropdown-toggle').dropdown(); $('#navbar').scrollspy(); +$('body').scrollspy({ target: '#navbar-example' }); $('#element').tooltip('show'); @@ -42,4 +43,4 @@ $('.typeahead').typeahead({ highlighter: item => "" }); -$('#navbar').affix(); \ No newline at end of file +$('#navbar').affix();