diff options
Diffstat (limited to 'templates/repo/empty.tmpl')
-rw-r--r-- | templates/repo/empty.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/empty.tmpl b/templates/repo/empty.tmpl index 485a6aa4e5..20563f59e6 100644 --- a/templates/repo/empty.tmpl +++ b/templates/repo/empty.tmpl @@ -51,7 +51,7 @@ git push -u origin {{.Repository.DefaultBranch}}</code></pre> const cloneUrls = document.getElementsByClassName('clone-url'); if (cloneUrls) { for (let i = 0; i < cloneUrls.length; i++) { - cloneUrls[i].textContent = (isSSH ? sshButton : httpsButton).dataset.link; + cloneUrls[i].textContent = (isSSH ? sshButton : httpsButton).getAttribute('data-link'); } } </script> |