From 122a99b51e10cd63e701820e68b38469c26a8f06 Mon Sep 17 00:00:00 2001 From: Charlie <13856015+KyrneDev@users.noreply.github.com> Date: Tue, 16 Feb 2021 14:48:16 -0800 Subject: [PATCH] Don't push bidi function to DOM (#2602) --- js/src/common/utils/bidi.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/src/common/utils/bidi.js b/js/src/common/utils/bidi.js index a618a7b0d..ff0ecb6d1 100644 --- a/js/src/common/utils/bidi.js +++ b/js/src/common/utils/bidi.js @@ -38,6 +38,8 @@ function bidi(node, prop) { node.attrs.value = prop(); } + node.attrs.bidi = null; + return node; }