From b05899cd174129112fd10321a2302cdd80cfff71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jostein=20Kj=C3=B8nigsen?= Date: Thu, 18 Jul 2024 22:05:51 +0200 Subject: [PATCH] Lint fix. --- src/gmail.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gmail.js b/src/gmail.js index 446f6059..0dc3797f 100644 --- a/src/gmail.js +++ b/src/gmail.js @@ -2694,11 +2694,11 @@ var Gmail = function(localJQuery) { let handler = api.tracker.dom_observers.recipient_change.handler; api.observe.trigger_dom(observer, $(mutation.target), handler); } else - if (removedNode.className === "vR") { - let observer = api.tracker.dom_observer_map["vR"]; - let handler = api.tracker.dom_observers.recipient_change.handler; - api.observe.trigger_dom(observer, $(mutation.target), handler); - } + if (removedNode.className === "vR") { + let observer = api.tracker.dom_observer_map["vR"]; + let handler = api.tracker.dom_observers.recipient_change.handler; + api.observe.trigger_dom(observer, $(mutation.target), handler); + } } // this listener will check every element inserted into the DOM