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 2023-08-28 09:26:23 +08:00 committed by GitHub
parent c533991519
commit 67daa7bcb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 10 deletions

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();