Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix carousel this.sliding not getting reset if $next.hasClass('active') #11379

Closed
wants to merge 1 commit into from
Closed

Conversation

mattjanssen
Copy link

Not resetting this.sliding = false before returning from Carousel.slide causes the carousel to stop working. This is an issue when slide() is trigger on a one-item carousel, and then a second item is later added but the carousel is stuck in a this.sliding = true state.

Not resetting `this.sliding = false` before returning from `Carousel.slide` causes the carousel to stop working. This is an issue when `slide()` is trigger on a one-item carousel, and then a second item is later added but the carousel is stuck in a `this.sliding = true` state.
@fat fat closed this in 8a62f21 Dec 30, 2013
@mdo mdo mentioned this pull request Dec 31, 2013
kevinawoo added a commit to Loopfirst/bootstrap that referenced this pull request Mar 28, 2014
* upstream/master: (119 commits)
  Drop trailling comma
  New Year
  fix assets links in all examples
  Update Gruntfile.js to copy 'dist/' files to 'docs/dist/' with 'grunt dist' task; Fixes twbs#12030: navbar toggle focus state
  Fix broken JS
  derp
  Fixes twbs#12046: move .csscomb.json and .csslintrc to less/ folder
  typo
  @nschonni's feedback <3
  @cvrebert's feedback
  Update dependencies (again)
  Fixed typo
  Sauce now supports latest Firefox on OS X Mavericks
  default to latest Firefox version on OS X
  fix capitalization of iOS
  mv sauce_browsers.yml out of the project root
  add note about ios dropdown compat
  fixes twbs#11379 - Fix carousel this.sliding not getting reset if $next.hasClass('active')
  fixes twbs#11373 - adds related target to dropdown events
  fixes twbs#11288 - Vertical scroll position of modal saves between openings
  ...

Conflicts:
	Gruntfile.js
	dist/css/bootstrap-theme.css
	dist/css/bootstrap-theme.css.map
	dist/css/bootstrap-theme.min.css
	dist/css/bootstrap.css
	dist/css/bootstrap.css.map
	dist/css/bootstrap.min.css
	dist/js/bootstrap.js
	dist/js/bootstrap.min.js
	docs/assets/css/docs.css
	docs/assets/css/pygments-manni.css
	docs/assets/ico/apple-touch-icon-144-precomposed.png
	docs/assets/js/application.js
	docs/assets/js/customize.js
	docs/assets/js/customizer.js
	docs/assets/js/filesaver.js
	docs/assets/js/holder.js
	docs/assets/js/ie8-responsive-file-warning.js
	docs/assets/js/jszip.js
	docs/assets/js/less.js
	docs/assets/js/raw-files.js
	docs/assets/js/uglify.js
	test-infra/s3_cache.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant