Skip to content

Commit

Permalink
fix carousel and rebuild js
Browse files Browse the repository at this point in the history
  • Loading branch information
fat committed Oct 31, 2012
1 parent b5af762 commit 404e4d9
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion docs/assets/css/bootstrap-responsive.css
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@
position: static;
top: auto;
left: auto;
display: block;
display: none;
float: none;
max-width: none;
padding: 0;
Expand All @@ -1032,6 +1032,9 @@
-moz-box-shadow: none;
box-shadow: none;
}
.nav-collapse .open > .dropdown-menu {
display: block;
}
.nav-collapse .dropdown-menu:before,
.nav-collapse .dropdown-menu:after {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/bootstrap-carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
$(document).on('click.carousel.data-api', '[data-slide]', function (e) {
var $this = $(this), href
, $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
, options = !$target.data('carousel') && $.extend({}, $target.data(), $this.data())
, options = $.extend({}, $target.data(), $this.data())
$target.carousel(options)
e.preventDefault()
})
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/bootstrap-dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@

function clearMenus() {
$(toggle).each(function () {
getParent($(this)).removeClass("open")
getParent($(this)).removeClass('open')
})
}

Expand Down
4 changes: 2 additions & 2 deletions docs/assets/js/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@
$(document).on('click.carousel.data-api', '[data-slide]', function (e) {
var $this = $(this), href
, $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
, options = !$target.data('carousel') && $.extend({}, $target.data(), $this.data())
, options = $.extend({}, $target.data(), $this.data())
$target.carousel(options)
e.preventDefault()
})
Expand Down Expand Up @@ -670,7 +670,7 @@

function clearMenus() {
$(toggle).each(function () {
getParent($(this)).removeClass("open")
getParent($(this)).removeClass('open')
})
}

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/bootstrap.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/bootstrap-carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
$(document).on('click.carousel.data-api', '[data-slide]', function (e) {
var $this = $(this), href
, $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
, options = !$target.data('carousel') && $.extend({}, $target.data(), $this.data())
, options = $.extend({}, $target.data(), $this.data())
$target.carousel(options)
e.preventDefault()
})
Expand Down

0 comments on commit 404e4d9

Please sign in to comment.