Skip to content

Commit 404e4d9

Browse files
committed
fix carousel and rebuild js
1 parent b5af762 commit 404e4d9

File tree

6 files changed

+10
-7
lines changed

6 files changed

+10
-7
lines changed

docs/assets/css/bootstrap-responsive.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@
10181018
position: static;
10191019
top: auto;
10201020
left: auto;
1021-
display: block;
1021+
display: none;
10221022
float: none;
10231023
max-width: none;
10241024
padding: 0;
@@ -1032,6 +1032,9 @@
10321032
-moz-box-shadow: none;
10331033
box-shadow: none;
10341034
}
1035+
.nav-collapse .open > .dropdown-menu {
1036+
display: block;
1037+
}
10351038
.nav-collapse .dropdown-menu:before,
10361039
.nav-collapse .dropdown-menu:after {
10371040
display: none;

docs/assets/js/bootstrap-carousel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
$(document).on('click.carousel.data-api', '[data-slide]', function (e) {
169169
var $this = $(this), href
170170
, $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
171-
, options = !$target.data('carousel') && $.extend({}, $target.data(), $this.data())
171+
, options = $.extend({}, $target.data(), $this.data())
172172
$target.carousel(options)
173173
e.preventDefault()
174174
})

docs/assets/js/bootstrap-dropdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101

102102
function clearMenus() {
103103
$(toggle).each(function () {
104-
getParent($(this)).removeClass("open")
104+
getParent($(this)).removeClass('open')
105105
})
106106
}
107107

docs/assets/js/bootstrap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@
407407
$(document).on('click.carousel.data-api', '[data-slide]', function (e) {
408408
var $this = $(this), href
409409
, $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
410-
, options = !$target.data('carousel') && $.extend({}, $target.data(), $this.data())
410+
, options = $.extend({}, $target.data(), $this.data())
411411
$target.carousel(options)
412412
e.preventDefault()
413413
})
@@ -670,7 +670,7 @@
670670

671671
function clearMenus() {
672672
$(toggle).each(function () {
673-
getParent($(this)).removeClass("open")
673+
getParent($(this)).removeClass('open')
674674
})
675675
}
676676

docs/assets/js/bootstrap.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/bootstrap-carousel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
$(document).on('click.carousel.data-api', '[data-slide]', function (e) {
169169
var $this = $(this), href
170170
, $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
171-
, options = !$target.data('carousel') && $.extend({}, $target.data(), $this.data())
171+
, options = $.extend({}, $target.data(), $this.data())
172172
$target.carousel(options)
173173
e.preventDefault()
174174
})

0 commit comments

Comments
 (0)