aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-08-15 18:09:05 -0700
committerChris Rebert <[email protected]>2014-08-15 18:09:05 -0700
commit6b7142212fdc57d247d0327e15f8b19c8b3f9d6d (patch)
tree024530649c3420e653a8eeea22d8d04a03a402cc /js
parent31f7cb152efbc22ea61801915d81ba2b13435f97 (diff)
downloadbootstrap-6b7142212fdc57d247d0327e15f8b19c8b3f9d6d.tar.xz
bootstrap-6b7142212fdc57d247d0327e15f8b19c8b3f9d6d.zip
consistently use <nav> instead of <div> for .navbar in docs
Diffstat (limited to 'js')
-rw-r--r--js/tests/unit/scrollspy.js4
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>'