WebashalarForML commited on
Commit
1c133f6
·
verified ·
1 Parent(s): 6a40006

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +2 -2
templates/index.html CHANGED
@@ -175,9 +175,9 @@
175
  }
176
  }, 3000);
177
 
178
- // Function to open links
179
  function openLink(url) {
180
- window.open(url, '_blank'); // Opens the link in a new tab
181
  }
182
  </script>
183
  </body>
 
175
  }
176
  }, 3000);
177
 
178
+ // Function to open links in the same tab
179
  function openLink(url) {
180
+ window.location.href = url; // Redirects to the specified URL in the same tab
181
  }
182
  </script>
183
  </body>