From f11b5eaef4cf00303b2c13e37d682706d34b8123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Zaja=CC=A8c?= Date: Mon, 26 Feb 2024 11:35:53 +0100 Subject: [PATCH] #1501 attributes improvement --- src/content/functions/isVisible.js | 1 - .../observer/observerConstants/notObservedAttributes.js | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/functions/isVisible.js b/src/content/functions/isVisible.js index 2546a3b..927a3dc 100644 --- a/src/content/functions/isVisible.js +++ b/src/content/functions/isVisible.js @@ -18,7 +18,6 @@ // /* global IntersectionObserver */ - const isVisible = domElement => { return new Promise(resolve => { const o = new IntersectionObserver(([entry]) => { diff --git a/src/content/observer/observerConstants/notObservedAttributes.js b/src/content/observer/observerConstants/notObservedAttributes.js index ab097a9..a3b3cf1 100644 --- a/src/content/observer/observerConstants/notObservedAttributes.js +++ b/src/content/observer/observerConstants/notObservedAttributes.js @@ -125,7 +125,8 @@ const notObservedAttributes = [ 'aria-valuemax', 'aria-valuemin', 'aria-valuenow', - 'aria-valuetext' + 'aria-valuetext', + 'value' ]; module.exports = notObservedAttributes;