We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1080623 commit 42368fbCopy full SHA for 42368fb
1 file changed
src/content-script.js
@@ -11,7 +11,6 @@ function doShit(elem, pathname) {
11
12
FOCUS_STYLES.forEach(({ key, value }) => {
13
elem.style.setProperty(key, value, "important");
14
- elem.nextElementSibling.style.setProperty(key, value, "important")
15
});
16
const draft = elem.value;
17
if (!draft) {
@@ -21,8 +20,7 @@ function doShit(elem, pathname) {
21
20
elem.addEventListener("blur", function() {
22
23
elem.style.setProperty(key, "");
24
- elem.nextElementSibling.style.setProperty(key, "")
25
- })
+ });
26
27
28
elem.addEventListener("input", function(e) {
0 commit comments