aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue.js
diff options
context:
space:
mode:
authorcarldanley <carldanley@gmail.com>2012-10-16 11:15:41 -0400
committerRick Waldron <waldron.rick@gmail.com>2012-10-16 11:15:41 -0400
commit08e134548f70f24cb73f8e1b7a6da39b1995d0ac (patch)
tree95135434f7f3c81b295657e2ed3dbe6a5da5566a /src/queue.js
parent2e3ca6ca46fd9352e02c140cabd1a2f979b3ce6d (diff)
downloadjquery-08e134548f70f24cb73f8e1b7a6da39b1995d0ac.tar.gz
jquery-08e134548f70f24cb73f8e1b7a6da39b1995d0ac.zip
Create private methods for processing data/removeData requests. Fixes #12519, Closes gh-976
Diffstat (limited to 'src/queue.js')
-rw-r--r--src/queue.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/queue.js b/src/queue.js
index d3a1136a6..c5a0cbd7d 100644
--- a/src/queue.js
+++ b/src/queue.js
@@ -58,8 +58,8 @@ jQuery.extend({
var key = type + "queueHooks";
return jQuery._data( elem, key ) || jQuery._data( elem, key, {
empty: jQuery.Callbacks("once memory").add(function() {
- jQuery.removeData( elem, type + "queue", true );
- jQuery.removeData( elem, key, true );
+ jQuery._removeData( elem, type + "queue" );
+ jQuery._removeData( elem, key );
})
});
}