We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 616336c commit b14f02aCopy full SHA for b14f02a
jquery.wait.js
@@ -12,7 +12,7 @@
12
this._delayCompleted = false;
13
this._$real = $real;
14
15
- if (typeof delay === 'number' && delay > 0 && delay < Infinity) {
+ if (typeof delay === 'number' && delay > -1 && delay < Infinity) {
16
// if a number between 0 and Infinity is given, set a timeout
17
this.timeoutKey = window.setTimeout(function(){
18
dummy._performDummyQueueActions();
@@ -48,7 +48,6 @@
48
while (this._fncQueue.length > 0) {
49
next = this._fncQueue.pop();
50
51
- console.log(next);
52
// if we find another `wait` call in the queue, stop dequeing and pass the
53
// remaining queued-up function calls to that wait call
54
if (next.fnc === 'wait') {
0 commit comments