aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.js')
-rw-r--r--src/data.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/data.js b/src/data.js
index 763b3df12..4f87a3550 100644
--- a/src/data.js
+++ b/src/data.js
@@ -167,11 +167,6 @@ jQuery.extend({
delete thisCache[ name ];
- // Check the actual element for predefined data-* attrs, #10027
- if ( jQuery.attr( elem, "data-" + name ) ) {
- jQuery.removeAttr( elem, "data-" + name );
- }
-
// If there is no data left in the cache, we want to continue
// and let the cache object itself get destroyed
if ( !isEmptyDataObject(thisCache) ) {