Remove some transition related code (#26755)

Remove transition related code because the transition module has been
removed by #26469
This commit is contained in:
wxiaoguang authored and GitHub committed 2023-08-28 01:26:23 +00:00
1 parent c533991519
commit 67daa7bcb0
3 files changed
+2 -10

No files matched your search

-6
View File
@@ -53,12 +53,6 @@ export function initRepoCloneLink() {
return;
}
// restore animation after first init
setTimeout(() => {
$repoCloneSsh.removeClass('gt-no-transition');
$repoCloneHttps.removeClass('gt-no-transition');
}, 100);
$repoCloneSsh.on('click', () => {
localStorage.setItem('repo-clone-protocol', 'ssh');
window.updateCloneStates();