From c4f49661859e2e8aacf15e1211e8e52e8805fa1b Mon Sep 17 00:00:00 2001 From: Federico Brigante Date: Sat, 9 Dec 2023 18:37:26 +0800 Subject: [PATCH] Restore extension on AJAX loads --- source/github-issue-link-status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/github-issue-link-status.js b/source/github-issue-link-status.js index 785ddbe..2686bdb 100644 --- a/source/github-issue-link-status.js +++ b/source/github-issue-link-status.js @@ -143,7 +143,7 @@ async function apply() { function onAjaxedPages(cb) { cb(); - document.addEventListener('pjax:end', cb); + document.addEventListener('turbo:render', cb); } function onNewComments(cb) {