Abhishek Thakur commited on
Commit
ef69751
·
1 Parent(s): 2fb965b
Files changed (1) hide show
  1. competitions/templates/index.html +2 -2
competitions/templates/index.html CHANGED
@@ -388,7 +388,7 @@
388
  class="mt-1 block w-full border border-gray-300 px-3 py-1.5 bg-white rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500">
389
  </li>
390
  <li id="loginButton" style="display: none;">
391
- <a href="/login/huggingface"
392
  class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">Login with Hugging
393
  Face</a>
394
  </li>
@@ -469,7 +469,7 @@
469
  </body>
470
 
471
  <script>
472
- document.getElementById('loginButton').addEventListener('click', function (event) {
473
  event.preventDefault(); // Prevent the default link behavior
474
  window.parent.location.href = this.getAttribute('href'); // Open link in parent window/tab
475
  });
 
388
  class="mt-1 block w-full border border-gray-300 px-3 py-1.5 bg-white rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500">
389
  </li>
390
  <li id="loginButton" style="display: none;">
391
+ <a href="/login/huggingface" id="huggingFaceLogin"
392
  class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">Login with Hugging
393
  Face</a>
394
  </li>
 
469
  </body>
470
 
471
  <script>
472
+ document.getElementById('huggingFaceLogin').addEventListener('click', function (event) {
473
  event.preventDefault(); // Prevent the default link behavior
474
  window.parent.location.href = this.getAttribute('href'); // Open link in parent window/tab
475
  });