<script>
  document.addEventListener('DOMContentLoaded', function() {
		
    // Identify Buttons
    const mainButton = document.querySelector('.scheme-switch-alpha__button--main');
    const altButton = document.querySelector('.scheme-switch-alpha__button--alt');
    
    // Set Focus on Click With Slight Delay
    altButton.addEventListener('click', function() {
      setTimeout(function() {
        mainButton.focus();
      }, 1);
    });
    mainButton.addEventListener('click', function() {
      setTimeout(function() {
        altButton.focus();
      }, 1);
    });
  });
</script>
시작하기Log in
<script>
  document.addEventListener('DOMContentLoaded', function() {
		
    // Identify Buttons
    const mainButton = document.querySelector('.scheme-switch-alpha__button--main');
    const altButton = document.querySelector('.scheme-switch-alpha__button--alt');
    
    // Set Focus on Click With Slight Delay
    altButton.addEventListener('click', function() {
      setTimeout(function() {
        mainButton.focus();
      }, 1);
    });
    mainButton.addEventListener('click', function() {
      setTimeout(function() {
        altButton.focus();
      }, 1);
    });
  });
</script>

분류되지 않음