aboutsummaryrefslogtreecommitdiff
path: root/ext/js/dom/css-style-applier.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/dom/css-style-applier.js')
-rw-r--r--ext/js/dom/css-style-applier.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/js/dom/css-style-applier.js b/ext/js/dom/css-style-applier.js
index 593e7a46..c617fead 100644
--- a/ext/js/dom/css-style-applier.js
+++ b/ext/js/dom/css-style-applier.js
@@ -72,12 +72,6 @@ class CssStyleApplier {
element.removeAttribute('style');
}
}
- for (const element of elements) {
- const {dataset} = element;
- for (const key of Object.keys(dataset)) {
- delete dataset[key];
- }
- }
}
// Private