Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Slider: change event is too greedy with mouse drag #7653

Closed

Conversation

cgack
Copy link
Contributor

@cgack cgack commented Sep 4, 2014

Fixes gh-7649

@arschmitz arschmitz added this to the 1.4.4 milestone Sep 4, 2014

control.unbind( "change", changeFunc );

ok( changeCount === actualChanges, "change events match actual changes in value" );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of ok use strictEqual and do strictEqual( actualChanges, changecount, ...

@arschmitz
Copy link
Contributor

Other then that one minor change this looks good

@cgack
Copy link
Contributor Author

cgack commented Sep 4, 2014

@arschmitz Updated to strictEqual

@arschmitz arschmitz self-assigned this Sep 4, 2014
@arschmitz
Copy link
Contributor

@cgack thanks

@arschmitz arschmitz closed this in 32f471c Sep 12, 2014
arschmitz pushed a commit that referenced this pull request Sep 12, 2014
agcolom pushed a commit to agcolom/jquery-mobile that referenced this pull request Nov 26, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Range slider triggers false change event
2 participants