Skip to content

Commit 66a351f

Browse files
mathroczbraniecki
authored andcommitted
fix SyntaxError on Edge (#405)
when using a MutationObserver with attributesFilter on edge `attributes: true` needs to be defined (see https://stackoverflow.com/questions/50593385/mutationobserver-syntax-error-on-ie-11)
1 parent ac828c5 commit 66a351f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fluent-dom/src/dom_localization.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default class DOMLocalization extends Localization {
3434
this.mutationObserver = null;
3535

3636
this.observerConfig = {
37-
attribute: true,
37+
attributes: true,
3838
characterData: false,
3939
childList: true,
4040
subtree: true,

0 commit comments

Comments
 (0)