diff options
| author | Chris Rebert <[email protected]> | 2014-08-20 21:48:59 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-08-20 21:48:59 -0700 |
| commit | 9efedf8f7b87222289c517d6fedde8cb401c1003 (patch) | |
| tree | 36e3aa942836eece1387680114021e617a569b0c /js | |
| parent | c95aa97c03fc676f7b53d002c7c8a3bb59fd6747 (diff) | |
| parent | 6b7142212fdc57d247d0327e15f8b19c8b3f9d6d (diff) | |
| download | bootstrap-9efedf8f7b87222289c517d6fedde8cb401c1003.tar.xz bootstrap-9efedf8f7b87222289c517d6fedde8cb401c1003.zip | |
Merge pull request #14406 from twbs/nav-tag-for-navbar
consistently use <nav> instead of <div> for .navbar in docs
Diffstat (limited to 'js')
| -rw-r--r-- | js/tests/unit/scrollspy.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/scrollspy.js b/js/tests/unit/scrollspy.js index b18d91189..c071d0f65 100644 --- a/js/tests/unit/scrollspy.js +++ b/js/tests/unit/scrollspy.js @@ -124,12 +124,12 @@ $(function () { test('should add the active class to the correct element', function () { var navbarHtml = - '<div class="navbar">' + '<nav class="navbar">' + '<ul class="nav">' + '<li id="li-1"><a href="#div-1">div 1</a></li>' + '<li id="li-2"><a href="#div-2">div 2</a></li>' + '</ul>' - + '</div>' + + '</nav>' var contentHtml = '<div class="content" style="overflow: auto; height: 50px">' + '<div id="div-1" style="height: 100px; padding: 0; margin: 0">div 1</div>' |
