From c8026a7a0c9918abcae01ce29c2e1f88d099847c 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..14be0be 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:loaded', cb); } function onNewComments(cb) {