summaryrefslogtreecommitdiff
path: root/source/features/update-pr-from-base-branch.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <github@bfred.it> 2020-01-07 00:19:09 +0700
committerGravatar GitHub <noreply@github.com> 2020-01-07 00:19:09 +0700
commit7f1f2c52d8deeb0fddb7a7322af7dd090ac19461 (patch)
tree6d5aba6a51777875918a609e4fdf2534870169be /source/features/update-pr-from-base-branch.tsx
parentdac2a0302aad5462c3a6b896fc66b18391c73d12 (diff)
downloadrefined-github-7f1f2c52d8deeb0fddb7a7322af7dd090ac19461.tar.gz
refined-github-7f1f2c52d8deeb0fddb7a7322af7dd090ac19461.tar.zst
refined-github-7f1f2c52d8deeb0fddb7a7322af7dd090ac19461.zip
Keep features working after clicking the browser’s Back button (#2639)
Diffstat (limited to 'source/features/update-pr-from-base-branch.tsx')
-rw-r--r--source/features/update-pr-from-base-branch.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/update-pr-from-base-branch.tsx b/source/features/update-pr-from-base-branch.tsx
index bc487809..b1f476aa 100644
--- a/source/features/update-pr-from-base-branch.tsx
+++ b/source/features/update-pr-from-base-branch.tsx
@@ -99,7 +99,7 @@ function init(): void | false {
}
observer = observeEl('.discussion-timeline-actions', addButton)!;
- delegate('.discussion-timeline-actions', '.rgh-update-pr-from-master', 'click', handler);
+ delegate('.rgh-update-pr-from-master', 'click', handler);
}
features.add({