Skip to content

Commit

Permalink
fix(build): fix doc htmllint
Browse files Browse the repository at this point in the history
  • Loading branch information
Lausselloic committed Jun 15, 2016
1 parent fae5ee4 commit fca72fe
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion dist/js/boosted.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/js/boosted.min.js

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions dist/js/umd/collapse.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,16 +392,16 @@
});

// local navigation
$('.o-nav-local .nav-inline.collapse .nav-link').on('click', function () {
$(undefined).parent().parent().prev('.local-select').text($(undefined).text());
$('.o-nav-local .nav-inline.collapse .nav-link').on('click', function (event) {
$(event.currentTarget).parent().parent().prev('.local-select').text($(event.currentTarget).text());
});

$('.o-nav-local .nav-inline.collapse').on('shown.bs.collapse', function () {
$(undefined).find('.nav-item:first-child .nav-link').focus();
$('.o-nav-local .nav-inline.collapse').on('shown.bs.collapse', function (event) {
$(event.currentTarget).find('.nav-item:first-child .nav-link').trigger('focus');
});

$('.o-nav-local .nav-inline.collapse').on('hidden.bs.collapse', function () {
$(undefined).prev('.local-select').focus();
$('.o-nav-local .nav-inline.collapse').on('hidden.bs.collapse', function (event) {
$(event.currentTarget).prev('.local-select').trigger('focus');
});

$(document).ready(function () {
Expand All @@ -411,7 +411,7 @@
});

$(document).on('click', function () {
$('.o-nav-local .collapse.in').collapse('hide');
Collapse._jQueryInterface.call($('.o-nav-local .collapse.in'), 'hide');
});
});

Expand Down
4 changes: 2 additions & 2 deletions docs-orange/components/orange-navbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ Orange navbar is the main navigation of project website. It should always be inc
{% example html %}
<header role="banner">
<nav class="navbar navbar-dark">
<button class="navbar-toggler hidden-sm-up" type="button" data-toggle="collapse" data-target="#collapsingNavbar">
<button class="navbar-toggler hidden-sm-up" type="button" data-toggle="collapse" data-target="#collapsingNavbar3">
<span class="sr-only">toggle navigation</span>
<span class="icon-menu"></span>
</button>
<div class="container" >
<a class="navbar-brand"><img src="../../dist/img/ORANGE_LOGO_rgb.jpg" alt='Back to homepage' title='Back to homepage'/></a>
<ul class="nav navbar-nav collapse navbar-toggleable-xs" id="collapsingNavbar">
<ul class="nav navbar-nav collapse navbar-toggleable-xs" id="collapsingNavbar3">
<li class="nav-item"><a class="nav-link" href="#">Discover</a></li>
<li class="nav-item"><a class="nav-link" href="#">Shop</a></li>
<li class="nav-item"><a href="#" class="nav-link">My Orange</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs-orange/examples/module-002-quick-links/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel="stylesheet" href="../../dist/css/boosted.css">
<link href="css/style002.css" rel="stylesheet">
</head>
<body role="document">
<body>

<header>
<a href="../" class="btn btn-secondary" title="go back to examples"><span aria-hidden="true" class="icon-arrow-previous"></span> Back</a>
Expand Down
2 changes: 1 addition & 1 deletion docs-orange/examples/module-006-content-panel/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel="stylesheet" href="../../dist/css/boosted.css">
<link href="css/style006.css" rel="stylesheet">
</head>
<body role="document">
<body>

<header>
<a href="../" class="btn btn-secondary" title="go back to examples"><span aria-hidden="true" class="icon-arrow-previous"></span> Back</a>
Expand Down
2 changes: 1 addition & 1 deletion docs-orange/examples/module-012-product-details/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="stylesheet" href="../../dist/css/boosted.css" />
<link href="css/style012.css" rel="stylesheet">
</head>
<body role="document">
<body>

<header>
<a href="../" class="btn btn-secondary" title="go back to examples"><span aria-hidden="true" class="icon-arrow-previous"></span> Back</a>
Expand Down
14 changes: 7 additions & 7 deletions js/dist/collapse.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/dist/collapse.js.map

Large diffs are not rendered by default.

0 comments on commit fca72fe

Please sign in to comment.