aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/queue.js')
-rw-r--r--src/queue.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue.js b/src/queue.js
index 3a626a2fc..fbbbeab71 100644
--- a/src/queue.js
+++ b/src/queue.js
@@ -17,7 +17,7 @@ jQuery.extend( {
// Speed up dequeue by getting out quickly if this is just a lookup
if ( data ) {
- if ( !queue || jQuery.isArray( data ) ) {
+ if ( !queue || Array.isArray( data ) ) {
queue = dataPriv.access( elem, type, jQuery.makeArray( data ) );
} else {
queue.push( data );