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 +}