WebashalarForML commited on
Commit
1e41fdb
·
verified ·
1 Parent(s): d1960fe

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +2 -2
templates/index.html CHANGED
@@ -167,9 +167,9 @@
167
  }
168
  }, 3000);
169
 
170
- // Function to open links
171
  function openLink(url) {
172
- window.open(url, '_blank'); // Opens the link in a new tab
173
  }
174
  </script>
175
  </body>
 
167
  }
168
  }, 3000);
169
 
170
+ // Function to open links in the same tab
171
  function openLink(url) {
172
+ window.location.href = url; // Redirects to the specified URL in the same tab
173
  }
174
  </script>
175
  </body>