From 4ed2623c826f5a5d6a366527a00af5562bf587b1 Mon Sep 17 00:00:00 2001 From: Renato Pozzi Date: Fri, 4 Oct 2024 12:27:07 +0200 Subject: [PATCH] fix(trello): optimize render for slow networks --- src/content/trello.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/trello.js b/src/content/trello.js index 9d4058fcd..13a95d5a4 100644 --- a/src/content/trello.js +++ b/src/content/trello.js @@ -16,8 +16,8 @@ const getProject = () => { const cardContainerSelector = '.window-wrapper' togglbutton.render( - '#card-back-name:not(.toggl)', - { observe: true, debounceInterval: 1000 }, + '[data-testid="card-back-make-template-button"]:not(.toggl)', + { observe: true, debounceInterval: 2000 }, (elem) => { const actionsWrapper = $( '#layer-manager-card-back section:nth-child(4) > ul',