Skip to content

Commit eab168c

Browse files
author
Matt Lee
committed
+ changed minimum value for timeout to be 0 instead of 1
- removed a console log
1 parent b14f02a commit eab168c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jquery.wait.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
this._delayCompleted = false;
1313
this._$real = $real;
1414

15-
if (typeof delay === 'number' && delay > -1 && delay < Infinity) {
15+
if (typeof delay === 'number' && delay >= 0 && delay < Infinity) {
1616
// if a number between 0 and Infinity is given, set a timeout
1717
this.timeoutKey = window.setTimeout(function(){
1818
dummy._performDummyQueueActions();

jquery.wait.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)