Skip to content

Add !Number.isInteger() condition for last arg #10

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Alejka
Copy link

@Alejka Alejka commented Dec 18, 2018

Add condition !Number.isInteger(last) because from some libraries (datetimepicker) comes next:
var args = ["mousedown", false];
and
var last = false;
But isNaN(false) is false.

Add condition "!Number.isInteger(last)", because from some libraries (datetimepicker) comes next: 
var args = ["mousedown", false];
and
var last = false;
But isNaN(false) is false.
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.

1 participant