From 500d7d64a2c87caff71e28436f63eeb1173f1f1f Mon Sep 17 00:00:00 2001 From: zenggang Date: Wed, 9 Aug 2023 07:56:07 +0000 Subject: [PATCH] * Fix bug --- module/repo/js/showsynccommit.ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/repo/js/showsynccommit.ui.js b/module/repo/js/showsynccommit.ui.js index d635883664..1e031d33be 100644 --- a/module/repo/js/showsynccommit.ui.js +++ b/module/repo/js/showsynccommit.ui.js @@ -2,7 +2,7 @@ function syncComments() { $.get(link, function(data) { - if(data == 'finish') return openUrl(browseLink); + if(data == 'finish') return loadPage(browseLink); var count = parseInt(data); if(isNaN(count)) count = 0; @@ -12,4 +12,4 @@ function syncComments() }); } -setTimeout(syncComments, 500); \ No newline at end of file +setTimeout(syncComments, 500);