Skip to content

Conversation

@znebb
Copy link

@znebb znebb commented Sep 7, 2017

The slider starts always when it was blurred and focused, even when its paused.
The slider should only start, when it was autoPaused.

$(window).focus(function() {
	if(slider.autoPaused) {
		el.startAuto(true);
		slider.autoPaused = null;
	}
}).blur(function() {
	if(slider.interval){
		el.stopAuto(true);
		slider.autoPaused = true;
	}
});

Steven Wanderski and others added 30 commits February 28, 2013 01:35
bxSlider function should return jQuery object when selector does not match anything
If the position doesn't exist (e.g. if you destroy the slider on a next click), this prevents it from throwing an error.
danila-dev and others added 30 commits March 26, 2018 14:45
remove unnecessary / duplicate boolean setting
InvalidPointerId on Android 6
FIX external call to method .stopAuto()
Fixing flickering (on -webkit)
Update readme with CDN resources
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.