From 43d303a48a038cd34a428b377be9ea5804cb4bd0 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Fri, 1 Sep 2023 16:22:27 +0800 Subject: [PATCH] * Fix bug #38041. --- module/repo/js/ajaxgeteditorcontent.ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/repo/js/ajaxgeteditorcontent.ui.js b/module/repo/js/ajaxgeteditorcontent.ui.js index 71fcddf059..feed9b12f1 100644 --- a/module/repo/js/ajaxgeteditorcontent.ui.js +++ b/module/repo/js/ajaxgeteditorcontent.ui.js @@ -208,7 +208,7 @@ function initPage() parent.loadLinkPage(link); }); - $('#relationTabs').on('click', '.unlinks', function() + $('#relationTabs').off('click', '.unlinks').on('click', '.unlinks', function() { var link = $(this).data('link'); $.post(link, function(data) @@ -235,4 +235,4 @@ function initPage() /* Get file commits. */ showCommitInfo(); -} \ No newline at end of file +}