aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/queue.js')
-rw-r--r--src/queue.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/queue.js b/src/queue.js
index 5fb04df80..9e3e2fb52 100644
--- a/src/queue.js
+++ b/src/queue.js
@@ -46,6 +46,10 @@ jQuery.extend({
jQuery.dequeue(elem, type);
});
}
+
+ if ( !queue.length ) {
+ jQuery.removeData( elem, type + "queue", true );
+ }
}
});